diff options
author | Timo Teräs <timo.teras@iki.fi> | 2014-05-07 09:44:55 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2014-05-07 09:45:35 +0300 |
commit | 9893cf0f44ca86d40f46e3b0b4306b42bb5041ac (patch) | |
tree | 55b3063b4062844cae66dadcb8d79b38ce3f425f /main/nginx-lua/musl-crypt-fix.patch | |
parent | b8cb931e312b5590897c310b0e3bc3f90d6ef809 (diff) | |
download | aports-9893cf0f44ca86d40f46e3b0b4306b42bb5041ac.tar.bz2 aports-9893cf0f44ca86d40f46e3b0b4306b42bb5041ac.tar.xz |
main/nginx-lua: moved from testing
Diffstat (limited to 'main/nginx-lua/musl-crypt-fix.patch')
-rw-r--r-- | main/nginx-lua/musl-crypt-fix.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/main/nginx-lua/musl-crypt-fix.patch b/main/nginx-lua/musl-crypt-fix.patch new file mode 100644 index 0000000000..2f11fe2e9d --- /dev/null +++ b/main/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); + |