diff options
| author | Timo Teräs <timo.teras@iki.fi> | 2014-04-02 09:06:15 +0300 |
|---|---|---|
| committer | Timo Teräs <timo.teras@iki.fi> | 2014-04-02 09:06:15 +0300 |
| commit | a78475900fb73b54f4cb3115f6eda1d0535b0fa2 (patch) | |
| tree | f3fc44121e3656136c4bf51e86297b7bf003645e /testing/nginx-lua/musl-crypt-fix.patch | |
| parent | 50020193aa1f478260101db1e74b60436d6d87c8 (diff) | |
| download | aports-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.patch | 13 |
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); + |
