aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tengine/musl-crypt-fix.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-08-18 14:09:56 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-08-18 14:09:56 +0000
commit066f0c09ce2c12886a65c0224e5f2dd91ed6a5b3 (patch)
treec38b444a714580d22029677e1c290f7f36879ecf /testing/tengine/musl-crypt-fix.patch
parent7c1831bb34eba36856d3d5cdf3c6a7f687d7906e (diff)
downloadaports-066f0c09ce2c12886a65c0224e5f2dd91ed6a5b3.tar.bz2
aports-066f0c09ce2c12886a65c0224e5f2dd91ed6a5b3.tar.xz
testing/tengine: upgrade to 2.0.3
Diffstat (limited to 'testing/tengine/musl-crypt-fix.patch')
-rw-r--r--testing/tengine/musl-crypt-fix.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/tengine/musl-crypt-fix.patch b/testing/tengine/musl-crypt-fix.patch
new file mode 100644
index 0000000000..2f11fe2e9d
--- /dev/null
+++ b/testing/tengine/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);
+