diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-07-30 12:38:17 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-07-30 12:38:24 +0000 |
commit | 0615b6c0b127285338934ef4d7b874a65225174e (patch) | |
tree | c5216ae38cfd909b97554804e7d41524d3d30458 /main/lua-ossl/musl-fixes.patch | |
parent | a367d15bffbabf1c4036ca2cf68bb3961786daad (diff) | |
download | aports-0615b6c0b127285338934ef4d7b874a65225174e.tar.bz2 aports-0615b6c0b127285338934ef4d7b874a65225174e.tar.xz |
main/lua-ossl: upgrade to 20140718
Diffstat (limited to 'main/lua-ossl/musl-fixes.patch')
-rw-r--r-- | main/lua-ossl/musl-fixes.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/main/lua-ossl/musl-fixes.patch b/main/lua-ossl/musl-fixes.patch new file mode 100644 index 0000000000..8b8c1c466e --- /dev/null +++ b/main/lua-ossl/musl-fixes.patch @@ -0,0 +1,20 @@ +--- ./src/openssl.c.orig ++++ ./src/openssl.c +@@ -36,7 +36,7 @@ + #include <errno.h> /* errno */ + + #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) */ + #endif + #include <sys/time.h> /* struct timeval gettimeofday(2) */ +@@ -4609,7 +4609,7 @@ + + + #ifndef HAVE_RANDOM_UUID +-#define HAVE_RANDOM_UUID (defined __linux) /* RANDOM_UUID is an enum, not macro */ ++#define HAVE_RANDOM_UUID (defined __GLIBC__) /* RANDOM_UUID is an enum, not macro */ + #endif + + #ifndef HAVE_KERN_URND |