diff options
Diffstat (limited to 'contrib/depends/patches/sodium')
| -rw-r--r-- | contrib/depends/patches/sodium/disable-glibc-getrandom-getentropy.patch | 25 | ||||
| -rw-r--r-- | contrib/depends/patches/sodium/fix-whitespace.patch | 13 |
2 files changed, 0 insertions, 38 deletions
diff --git a/contrib/depends/patches/sodium/disable-glibc-getrandom-getentropy.patch b/contrib/depends/patches/sodium/disable-glibc-getrandom-getentropy.patch deleted file mode 100644 index 2f07c10..0000000 --- a/contrib/depends/patches/sodium/disable-glibc-getrandom-getentropy.patch +++ /dev/null @@ -1,25 +0,0 @@ -diff --git a/configure.ac b/configure.ac -index 9e2de27c..0fa85c2d 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -807,6 +807,10 @@ AS_IF([test "x$EMSCRIPTEN" = "x"],[ - # include <sys/random.h> - #endif - ]], [[ -+#ifdef __linux__ -+# error getrandom() is currently disabled on Linux to support glibc < 2.25 -+#endif -+ - unsigned char buf; - (void) getrandom((void *) &buf, 1U, 0U); - ]])], -@@ -825,6 +829,9 @@ unsigned char buf; - # include <sys/random.h> - #endif - ]], [[ -+#ifdef __linux__ -+# error getentropy() is currently disabled on Linux to support glibc < 2.25 -+#endif - #ifdef __APPLE__ - # error getentropy() is currently disabled on Apple operating systems - #endif diff --git a/contrib/depends/patches/sodium/fix-whitespace.patch b/contrib/depends/patches/sodium/fix-whitespace.patch deleted file mode 100644 index c3d3af0..0000000 --- a/contrib/depends/patches/sodium/fix-whitespace.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/configure b/configure -index b29f769..ca008ae 100755 ---- a/configure -+++ b/configure -@@ -591,7 +591,7 @@ MAKEFLAGS= - PACKAGE_NAME='libsodium' - PACKAGE_TARNAME='libsodium' - PACKAGE_VERSION='1.0.18' --PACKAGE_STRING='libsodium 1.0.18' -+PACKAGE_STRING='libsodium' - PACKAGE_BUGREPORT='https://github.com/jedisct1/libsodium/issues' - PACKAGE_URL='https://github.com/jedisct1/libsodium' - |
