mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-17 23:44:17 +08:00
libgcrypt: update and fix
This commit is contained in:
parent
a0453ca217
commit
21120483cf
@ -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
|
||||
"""
|
||||
|
||||
20
recipes/wip/libs/other/libgcrypt/redox.patch
Normal file
20
recipes/wip/libs/other/libgcrypt/redox.patch
Normal 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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user