summaryrefslogtreecommitdiff
path: root/system/libgcrypt/missing-headers.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2022-02-06 17:05:13 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2022-05-01 17:05:49 -0500
commit1570d76cb91038ee1aecc31f5ff49c237d8ff623 (patch)
treecb16caf3a90d9603e922a2cf498215a81048b1e0 /system/libgcrypt/missing-headers.patch
parente29d32d9585be76b20f43aa379fbfaaa298c3117 (diff)
downloadpackages-1570d76cb91038ee1aecc31f5ff49c237d8ff623.tar.gz
packages-1570d76cb91038ee1aecc31f5ff49c237d8ff623.tar.bz2
packages-1570d76cb91038ee1aecc31f5ff49c237d8ff623.tar.xz
packages-1570d76cb91038ee1aecc31f5ff49c237d8ff623.zip
system/libgcrypt: Update to 1.10.0 [CVE]
Diffstat (limited to 'system/libgcrypt/missing-headers.patch')
-rw-r--r--system/libgcrypt/missing-headers.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/system/libgcrypt/missing-headers.patch b/system/libgcrypt/missing-headers.patch
new file mode 100644
index 000000000..ec0df3985
--- /dev/null
+++ b/system/libgcrypt/missing-headers.patch
@@ -0,0 +1,13 @@
+A similar fix to this is upstream for 1.10.1.
+
+--- libgcrypt-1.10.0/random/jitterentropy-base-user.h.old 2022-01-25 15:55:44.000000000 -0600
++++ libgcrypt-1.10.0/random/jitterentropy-base-user.h 2022-02-06 17:00:02.040000000 -0600
+@@ -54,6 +54,8 @@
+ # error This module needs stdint.h - try ./configure --disable-jent-support
+ #endif
+
++#include <fcntl.h>
++#include <limits.h>
+
+ /* When using the libgcrypt secure memory mechanism, all precautions
+ * are taken to protect our state. If the user disables secmem during