aboutsummaryrefslogtreecommitdiffstats
path: root/testing/nginx-lua/musl-crypt-fix.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-crypt-fix.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-crypt-fix.patch')
-rw-r--r--testing/nginx-lua/musl-crypt-fix.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/nginx-lua/musl-crypt-fix.patch b/testing/nginx-lua/musl-crypt-fix.patch
new file mode 100644
index 0000000000..2f11fe2e9d
--- /dev/null
+++ b/testing/nginx-lua/musl-crypt-fix.patch
@@ -0,0 +1,13 @@
+--- nginx-1.4.4/src/os/unix/ngx_user.c.orig
++++ nginx-1.4.4/src/os/unix/ngx_user.c
+@@ -31,8 +31,10 @@
+ struct crypt_data cd;
+
+ cd.initialized = 0;
++#ifdef __GLIBC__
+ /* work around the glibc bug */
+ cd.current_salt[0] = ~salt[0];
++#endif
+
+ value = crypt_r((char *) key, (char *) salt, &cd);
+