aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-ossl/musl-fixes.patch
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-09-01 15:08:42 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2016-09-02 06:37:58 +0000
commitb86a56b70945a73869ce66e06ae1cf4269c23e53 (patch)
tree7dfbcb4d52dc27c38ce98326732691dca0aafc34 /main/lua-ossl/musl-fixes.patch
parent20305af40a4c2e54a45679a10a0ddbd0d9eee4a3 (diff)
downloadaports-b86a56b70945a73869ce66e06ae1cf4269c23e53.tar.bz2
aports-b86a56b70945a73869ce66e06ae1cf4269c23e53.tar.xz
main/lua-ossl: upgrade to 20151221
Diffstat (limited to 'main/lua-ossl/musl-fixes.patch')
-rw-r--r--main/lua-ossl/musl-fixes.patch20
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 */