libgcrypt: update and fix

This commit is contained in:
Jeremy Soller 2025-05-10 08:44:00 -06:00
parent a0453ca217
commit 21120483cf
No known key found for this signature in database
GPG Key ID: 670FDFB5428E05CA
2 changed files with 35 additions and 3 deletions

View File

@ -1,5 +1,17 @@
#TODO compilation error
[source]
tar = "https://gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-1.10.2.tar.bz2"
tar = "https://gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-1.11.1.tar.bz2"
blake3 = "68844e12b92960d66c4ce85a4c3db1df8377b232980f1218b4c5d904e9c02511"
patches = ["redox.patch"]
script = """
DYNAMIC_INIT
autotools_recursive_regenerate
"""
[build]
template = "configure"
dependencies = ["libgpg-error"]
template = "custom"
script = """
DYNAMIC_INIT
export GPGRT_CONFIG="${COOKBOOK_SYSROOT}/usr/bin/gpgrt-config"
cookbook_configure
"""

View File

@ -0,0 +1,20 @@
--- libgcrypt-1.11.1/tests/stopwatch.h 2025-03-17 03:55:24.000000000 -0600
+++ source/tests/stopwatch.h 2025-05-10 08:42:52.113921935 -0600
@@ -45,6 +45,8 @@
&started_at.creation_time, &started_at.exit_time,
&started_at.kernel_time, &started_at.user_time);
stopped_at = started_at;
+#elif defined(__redox__)
+ //TODO: times on redox
#else
struct tms tmp;
@@ -60,6 +62,8 @@
GetProcessTimes (GetCurrentProcess (),
&stopped_at.creation_time, &stopped_at.exit_time,
&stopped_at.kernel_time, &stopped_at.user_time);
+#elif defined(__redox__)
+ //TODO: times on redox
#else
struct tms tmp;