summaryrefslogtreecommitdiff
path: root/package/libtirpc/patches/patch-src_des_impl_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-08-13 07:27:20 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2017-08-13 07:27:48 +0200
commit85dcd86f86c3951d112023263011d8f73143b1c5 (patch)
treefb19f3fa8eba015116b04d8ee4db592eaa30c270 /package/libtirpc/patches/patch-src_des_impl_c
parentf033b898c3569d3ed4431495662870913a5ab5f1 (diff)
libtirpc: update to 1.0.2, fix glibc/musl compile issues
Diffstat (limited to 'package/libtirpc/patches/patch-src_des_impl_c')
-rw-r--r--package/libtirpc/patches/patch-src_des_impl_c11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/libtirpc/patches/patch-src_des_impl_c b/package/libtirpc/patches/patch-src_des_impl_c
new file mode 100644
index 000000000..0290f1bbf
--- /dev/null
+++ b/package/libtirpc/patches/patch-src_des_impl_c
@@ -0,0 +1,11 @@
+--- libtirpc-1.0.2.orig/src/des_impl.c 2017-07-05 17:02:23.000000000 +0200
++++ libtirpc-1.0.2/src/des_impl.c 2017-08-12 20:52:33.863661657 +0200
+@@ -588,7 +588,7 @@ _des_crypt (char *buf, unsigned len, str
+ }
+ tin0 = tin1 = tout0 = tout1 = xor0 = xor1 = 0;
+ tbuf[0] = tbuf[1] = 0;
+- __bzero (schedule, sizeof (schedule));
++ memset (schedule, 0, sizeof (schedule));
+
+ return (1);
+ }