summaryrefslogtreecommitdiffstats
path: root/testing/nginx-lua/musl-sysctl-header.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2014-04-02 09:06:15 +0300
committerTimo Teräs <timo.teras@iki.fi>2014-04-02 09:06:15 +0300
commita78475900fb73b54f4cb3115f6eda1d0535b0fa2 (patch)
treef3fc44121e3656136c4bf51e86297b7bf003645e /testing/nginx-lua/musl-sysctl-header.patch
parent50020193aa1f478260101db1e74b60436d6d87c8 (diff)
downloadaports-a78475900fb73b54f4cb3115f6eda1d0535b0fa2.tar.bz2
aports-a78475900fb73b54f4cb3115f6eda1d0535b0fa2.tar.xz
testing/nginx-lua: new aport
nginx with luajit support http://www.nginx.org http://wiki.nginx.org/HttpLuaModule
Diffstat (limited to 'testing/nginx-lua/musl-sysctl-header.patch')
-rw-r--r--testing/nginx-lua/musl-sysctl-header.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/nginx-lua/musl-sysctl-header.patch b/testing/nginx-lua/musl-sysctl-header.patch
new file mode 100644
index 000000000..e851cbd74
--- /dev/null
+++ b/testing/nginx-lua/musl-sysctl-header.patch
@@ -0,0 +1,12 @@
+--- ./src/os/unix/ngx_linux_config.h.orig
++++ ./src/os/unix/ngx_linux_config.h
+@@ -51,7 +51,9 @@
+ #include <malloc.h> /* memalign() */
+ #include <limits.h> /* IOV_MAX */
+ #include <sys/ioctl.h>
++#ifdef __GLIBC__
+ #include <sys/sysctl.h>
++#endif
+ #include <crypt.h>
+ #include <sys/utsname.h> /* uname() */
+