diff options
Diffstat (limited to 'main/lua-ossl/musl-fixes.patch')
-rw-r--r-- | main/lua-ossl/musl-fixes.patch | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/main/lua-ossl/musl-fixes.patch b/main/lua-ossl/musl-fixes.patch index 8b8c1c466e..5f297e4b0a 100644 --- a/main/lua-ossl/musl-fixes.patch +++ b/main/lua-ossl/musl-fixes.patch @@ -1,16 +1,16 @@ ---- ./src/openssl.c.orig -+++ ./src/openssl.c -@@ -36,7 +36,7 @@ - #include <errno.h> /* errno */ +--- a/src/openssl.c ++++ b/src/openssl.c +@@ -6980,7 +6980,7 @@ + } /* randL_getstate() */ - #include <sys/types.h> /* ssize_t pid_t */ --#if !defined __sun && !defined _AIX -+#if defined __GLIBC__ - #include <sys/sysctl.h> /* CTL_KERN KERN_RANDOM RANDOM_UUID KERN_URND KERN_ARND sysctl(2) */ + #ifndef HAVE_SYS_SYSCTL_H +-#define HAVE_SYS_SYSCTL_H (!defined __sun && !defined _AIX) ++#define HAVE_SYS_SYSCTL_H (defined __GLIBC__) #endif - #include <sys/time.h> /* struct timeval gettimeofday(2) */ -@@ -4609,7 +4609,7 @@ + #if HAVE_SYS_SYSCTL_H +@@ -6988,7 +6988,7 @@ + #endif #ifndef HAVE_RANDOM_UUID -#define HAVE_RANDOM_UUID (defined __linux) /* RANDOM_UUID is an enum, not macro */ |