From a0453ca21708ecbd7a5866744f37c2d4ac96905a Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Sat, 10 May 2025 08:35:37 -0600 Subject: [PATCH] libgpg-error: update and fix --- .../wip/libs/other/libgpg-error/recipe.toml | 25 ++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/recipes/wip/libs/other/libgpg-error/recipe.toml b/recipes/wip/libs/other/libgpg-error/recipe.toml index ee65c3137..e3a6f8955 100644 --- a/recipes/wip/libs/other/libgpg-error/recipe.toml +++ b/recipes/wip/libs/other/libgpg-error/recipe.toml @@ -1,5 +1,24 @@ -#TODO compilation error [source] -tar = "https://www.gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-1.47.tar.bz2" +tar = "https://gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-1.55.tar.bz2" +blake3 = "6c363dd8c6bcf2601dd5ff3b11fa2f699baa2aae40de2acd92461af0fd8178f0" +script = """ +DYNAMIC_INIT +autotools_recursive_regenerate +""" + [build] -template = "configure" +template = "custom" +script = """ +DYNAMIC_INIT +#TODO: this modifies the source +env \ + LOCK_ABI_VERSION=1 \ + host="${TARGET}" \ + ac_ext=c \ + ac_objext=o \ + AWK="$(which awk)" \ + "${COOKBOOK_SOURCE}/src/gen-lock-obj.sh" \ + > \ + "${COOKBOOK_SOURCE}/src/syscfg/lock-obj-pub.${TARGET}.h" +cookbook_configure --enable-threads=posix +"""