summaryrefslogtreecommitdiff
path: root/net-libs/libtirpc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-12-21 20:47:17 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-12-21 20:47:17 +0000
commit4ab6db5717ef23f29320d4c6fb9ebdb8dec1f193 (patch)
treef7640b8b96a04499f1ce44a2cad122d45a8373bd /net-libs/libtirpc
parent48bdeb0db9c7ffed22c6eb859ee40b55ba598b86 (diff)
gentoo resync : 21.12.2017
Diffstat (limited to 'net-libs/libtirpc')
-rw-r--r--net-libs/libtirpc/Manifest7
-rw-r--r--net-libs/libtirpc/files/libtirpc-0.2.5-stdarg.patch29
-rw-r--r--net-libs/libtirpc/files/libtirpc-1.0.1_add-des_impl-c-7f6bb9a3467a.patch29
-rw-r--r--net-libs/libtirpc/files/libtirpc-1.0.1_ifdef-out-yp-headers-742bbdff6ddf.patch30
-rw-r--r--net-libs/libtirpc/files/libtirpc-1.0.1_remove-des-deps-to-glibc-503ac2e9fa56.patch43
-rw-r--r--net-libs/libtirpc/files/libtirpc-1.0.1_remove-nis-h-dep-5f00f8c78c5d.patch137
-rw-r--r--net-libs/libtirpc/files/libtirpc-1.0.1_uclibc-dont-use-struct-rpcent.patch51
-rw-r--r--net-libs/libtirpc/files/libtirpc-1.0.1_uclibc-use-memset-not-bzero.patch21
8 files changed, 0 insertions, 347 deletions
diff --git a/net-libs/libtirpc/Manifest b/net-libs/libtirpc/Manifest
index 447648f6145e..9941338c8e48 100644
--- a/net-libs/libtirpc/Manifest
+++ b/net-libs/libtirpc/Manifest
@@ -1,11 +1,4 @@
-AUX libtirpc-0.2.5-stdarg.patch 667 BLAKE2B 1b8b1345310883ad7f62cc22882306dc8f549aceb85fd25ad58f4cb21bbf4bb85e94e524f419276644005c0b967be0dfd74387a925efde9c73a62ab97c8bbfff SHA512 2197f8c2ed3b4dbfc54ee37e973a6e275d19c6dde5d066b9ce45beecdbb17c9e620d7c6f0997b7ebfeb2bd1741327028a793b34edd94d59a89c8b36ac102b025
AUX libtirpc-1.0.1-CVE-2017-8779.patch 7032 BLAKE2B 0dae8a3ee695bc1216973a7fd92d30ad7e1bd426f27cac7c64cd6f2cef741509e63431483afb0b1206fd9648d4a6c61df59f9637ed4efe5a20cee219f8bcfcca SHA512 b7c97f6f202cd57c988ff026e2805011942f470c71fdfd81a2647a0e197386db937b022f0056e6ad106bb143c36323835748965b4915a293b89efba3cd171c84
-AUX libtirpc-1.0.1_add-des_impl-c-7f6bb9a3467a.patch 1207 BLAKE2B 869327fad2e99c9902d2a2d0571eeef65f8ff0bd4c0ef78a54f4db45f2a012c0c1a01b78d0a85906e015c9a480c4ac16b0a4f4d8846362cd0e65938792af6e78 SHA512 dd6c61bc885dace248bf69d9fa15d79cb8a73530c434f834a3c53ad5d3f5598b0b04786d9d708b25c53202d2421c0888e00b9c1a260abcafa776f25cef694c19
-AUX libtirpc-1.0.1_ifdef-out-yp-headers-742bbdff6ddf.patch 821 BLAKE2B 30bc87afaa835766322830e853d42b7e9d38cf9d25bea97238f2b30d246a3a9b974335e4d4f0b736530119387d14972a9c4cd1662246c28b3139083e83738706 SHA512 3733c1e88acf91f30ec647f83f6ad44d1dbe087e89996db7cd4197b7eed7924443fb4854bfb4c0e5ce0e2c7b3569e2af444a1e6a8a4139ea3c408e9838419b88
-AUX libtirpc-1.0.1_remove-des-deps-to-glibc-503ac2e9fa56.patch 1232 BLAKE2B 5bb0c96d675e29979e86d99fc5317cc1ed149da4ab38c7627b395b10361d78ddd9dfe1635f7cf018dbd8e3a0e0109e28611c4b823ac3f72fcd832cd0800bb86a SHA512 24a5012481eae9d8152267287546b390edb0fe9925bc043df50a3b82057517487e8a1b94782adc9e14ac1e72ded9b1cb44dd25e09c9a5451053a26adb3a821a2
-AUX libtirpc-1.0.1_remove-nis-h-dep-5f00f8c78c5d.patch 4015 BLAKE2B c0bc2c0575c8b94a799544a5281479e6c788a4ebe85bd8ec3e2c68fda0dfe1045589a86c335d4b6642c3de6b16228a804e4ad011663c2248b860c8ecb83849c9 SHA512 fcd76037bd78e298a261f288b51de6ff25d362c40a416e86ed2c766b3c106339e4633e92546b96b727d38d14c85566250be25b82c1093c470e8c8cb1c86faafa
-AUX libtirpc-1.0.1_uclibc-dont-use-struct-rpcent.patch 2010 BLAKE2B 28c10e2a780c9e469c7aed6f5e202cd9532a0952e54775438fda9cba508cc59ad72c0af4725d3d75f13c4c00172c325dc885b8665809ab247686fdaeea1992b9 SHA512 0486bd17ab67aaeba1ed536c20297f78091c2b5badb7ce41cd0cfdb0c6139e8501b827d40798b03f114e2bf03f4c98a684aa43f47cc5a1953f8245292a0f036a
-AUX libtirpc-1.0.1_uclibc-use-memset-not-bzero.patch 759 BLAKE2B 756df66fbb89b869979059e73ca0894200f7b10b8e8588803b48eda9413c0e3c1249c802c87f7b359dfeffc4f6cd4b7a31fbb7330ce090ef5a0614dd332ef466 SHA512 122a1ae24fc08ede5580d31749f7e1cfc21266b628e2f82936feef856b2ea5b0da99f60291e5bdf87d87c5711891515b0c6bdc351b0bd46f97192ab215e5f25d
AUX libtirpc-1.0.2-bcopy-to-memmove.patch 2226 BLAKE2B c0a5244f21d9a5531303b317946fe53b695aafc54095f617a3918f28a94033cd0a30b5f3bfd6fe671b64d4919d255298b55fbb4fa6179c255ff561517361d4e5 SHA512 221c85c47ec56edbdb4ce95e0f67680050b8d9f666c6795ceef7f7720acdf05a535e4afbcdc4e2e5eaeb6edc04bd43f65486df772ad2a0c87987d1c204661f00
AUX libtirpc-1.0.2-bzero-to-memset.patch 1587 BLAKE2B ae0358514dedcfa3d7e156dbccf4e8bea9749c37b59e1b187bbc34600bf7980e05213da38287077be08e11a2916cb3c787d83860400e2831ed95f99fdd7ef1e3 SHA512 aaea43a11e02094f9e43640866dffe7ef509362ba169500d6032b088f048eb855a3a7a75f2e7a2c999d6a252cb4b66d970cd8cc76dd0747376cb382b53e43385
AUX libtirpc-1.0.2-exports.patch 424 BLAKE2B c5292cd01b7b8ffd6be3fcd5842f66ce20b7b4b2bfed02c10bb5f5b83db6cacc43949aadfc60fd2023229c6246f3cb3f991413ee1704539625f759ae39b77dbd SHA512 66a4925ed0236aea2e181e9a07677dc9f41c287311c9cb02129d17b9a61b6102997258082d38e45d193a0ceb4b8e2bc0b8dfe1610a298bc508c1f5c70c1b466d
diff --git a/net-libs/libtirpc/files/libtirpc-0.2.5-stdarg.patch b/net-libs/libtirpc/files/libtirpc-0.2.5-stdarg.patch
deleted file mode 100644
index 8006de39e4dc..000000000000
--- a/net-libs/libtirpc/files/libtirpc-0.2.5-stdarg.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From d26607bade0893fe8652e1a0983f9fae59c64649 Mon Sep 17 00:00:00 2001
-From: Mike Frysinger <vapier@gentoo.org>
-Date: Tue, 12 Aug 2014 03:11:41 -0400
-Subject: [PATCH libtirpc] include stdarg.h when used
-
-The debug.h header uses va_list but doesn't include stdarg.h which
-can lead to random build failures.
-
-Signed-off-by: Mike Frysinger <vapier@gentoo.org>
----
- src/debug.h | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/src/debug.h b/src/debug.h
-index afc8d57..c971ac3 100644
---- a/src/debug.h
-+++ b/src/debug.h
-@@ -21,6 +21,8 @@
-
- #ifndef _DEBUG_H
- #define _DEBUG_H
-+
-+#include <stdarg.h>
- #include <syslog.h>
-
- extern int libtirpc_debug_level;
---
-2.0.0
-
diff --git a/net-libs/libtirpc/files/libtirpc-1.0.1_add-des_impl-c-7f6bb9a3467a.patch b/net-libs/libtirpc/files/libtirpc-1.0.1_add-des_impl-c-7f6bb9a3467a.patch
deleted file mode 100644
index a62f23d87e94..000000000000
--- a/net-libs/libtirpc/files/libtirpc-1.0.1_add-des_impl-c-7f6bb9a3467a.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From: Thorsten Kukuk <kukuk@thkukuk.de>
-Date: Mon, 4 Apr 2016 13:48:04 +0000 (-0400)
-Subject: Compile des_crypt.c and des_impl.c
-X-Git-Tag: libtirpc-1-0-2-rc3~1
-X-Git-Url: http://git.linux-nfs.org/?p=steved%2Flibtirpc.git;a=commitdiff_plain;h=7f6bb9a3467a57caf43425d213a06aeb7870086b
-
-Compile des_crypt.c and des_impl.c
-
-Add des_impl.c to become independent of deprecated functions of glibc
-
-Fixes: f17b44048003 ('Revert commit c0547c56dafb')
-Signed-off-by: Thorsten Kukuk <kukuk@thkukuk.de>
-Signed-off-by: Steve Dickson <steved@redhat.com>
----
-
-diff --git a/src/Makefile.am b/src/Makefile.am
-index e4ed8aa..fba2aa4 100644
---- a/src/Makefile.am
-+++ b/src/Makefile.am
-@@ -24,7 +24,7 @@ libtirpc_la_SOURCES = auth_none.c auth_unix.c authunix_prot.c bindresvport.c cln
- rpcb_st_xdr.c svc.c svc_auth.c svc_dg.c svc_auth_unix.c svc_auth_none.c \
- svc_auth_des.c \
- svc_generic.c svc_raw.c svc_run.c svc_simple.c svc_vc.c getpeereid.c \
-- auth_time.c auth_des.c authdes_prot.c debug.c
-+ auth_time.c auth_des.c authdes_prot.c debug.c des_crypt.c des_impl.c
-
- ## XDR
- libtirpc_la_SOURCES += xdr.c xdr_rec.c xdr_array.c xdr_float.c xdr_mem.c xdr_reference.c xdr_stdio.c xdr_sizeof.c
-
diff --git a/net-libs/libtirpc/files/libtirpc-1.0.1_ifdef-out-yp-headers-742bbdff6ddf.patch b/net-libs/libtirpc/files/libtirpc-1.0.1_ifdef-out-yp-headers-742bbdff6ddf.patch
deleted file mode 100644
index 481ace7e6fcd..000000000000
--- a/net-libs/libtirpc/files/libtirpc-1.0.1_ifdef-out-yp-headers-742bbdff6ddf.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From: Thorsten Kukuk <kukuk@thkukuk.de>
-Date: Mon, 4 Apr 2016 13:37:32 +0000 (-0400)
-Subject: getpublickey.c: ifdef out yp headers
-X-Git-Tag: libtirpc-1-0-2-rc3~3
-X-Git-Url: http://git.linux-nfs.org/?p=steved%2Flibtirpc.git;a=commitdiff_plain;h=742bbdff6ddff4dde0d610a842cd8ac0408af0a0
-
-getpublickey.c: ifdef out yp headers
-
-If we don't compile in YP support, don't include YP
-
-Signed-off-by: Thorsten Kukuk <kukuk@thkukuk.de>
-Signed-off-by: Steve Dickson <steved@redhat.com>
----
-
-diff --git a/src/getpublickey.c b/src/getpublickey.c
-index 764a5f9..8cf4dc2 100644
---- a/src/getpublickey.c
-+++ b/src/getpublickey.c
-@@ -38,8 +38,10 @@
- #include <pwd.h>
- #include <rpc/rpc.h>
- #include <rpc/key_prot.h>
-+#ifdef YP
- #include <rpcsvc/yp_prot.h>
- #include <rpcsvc/ypclnt.h>
-+#endif
- #include <string.h>
- #include <stdlib.h>
-
-
diff --git a/net-libs/libtirpc/files/libtirpc-1.0.1_remove-des-deps-to-glibc-503ac2e9fa56.patch b/net-libs/libtirpc/files/libtirpc-1.0.1_remove-des-deps-to-glibc-503ac2e9fa56.patch
deleted file mode 100644
index 0ef15290ea14..000000000000
--- a/net-libs/libtirpc/files/libtirpc-1.0.1_remove-des-deps-to-glibc-503ac2e9fa56.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-From: Thorsten Kukuk <kukuk@thkukuk.de>
-Date: Mon, 4 Apr 2016 13:51:15 +0000 (-0400)
-Subject: Remove des*.c dependencies to glibc
-X-Git-Tag: libtirpc-1-0-2-rc3
-X-Git-Url: http://git.linux-nfs.org/?p=steved%2Flibtirpc.git;a=commitdiff_plain;h=503ac2e9fa569d95e366766202a7ca840e28b28a
-
-Remove des*.c dependencies to glibc
-
-Our des_impl.c has dependencies to glibc header files
-and different arguments then our header file has.
-Bring our own code in sync.
-
-Signed-off-by: Thorsten Kukuk <kukuk@thkukuk.de>
-Signed-off-by: Steve Dickson <steved@redhat.com>
----
-
-diff --git a/src/des_impl.c b/src/des_impl.c
-index c5b7ed6..9dbccaf 100644
---- a/src/des_impl.c
-+++ b/src/des_impl.c
-@@ -6,7 +6,8 @@
- /* see <http://www.gnu.org/licenses/> to obtain a copy. */
- #include <string.h>
- #include <stdint.h>
--#include <rpc/rpc_des.h>
-+#include <sys/types.h>
-+#include <rpc/des.h>
-
-
- static const uint32_t des_SPtrans[8][64] =
-diff --git a/tirpc/rpc/des.h b/tirpc/rpc/des.h
-index d2881ad..018aa48 100644
---- a/tirpc/rpc/des.h
-+++ b/tirpc/rpc/des.h
-@@ -82,6 +82,6 @@ struct desparams {
- /*
- * Software DES.
- */
--extern int _des_crypt( char *, int, struct desparams * );
-+extern int _des_crypt( char *, unsigned, struct desparams * );
-
- #endif
-
diff --git a/net-libs/libtirpc/files/libtirpc-1.0.1_remove-nis-h-dep-5f00f8c78c5d.patch b/net-libs/libtirpc/files/libtirpc-1.0.1_remove-nis-h-dep-5f00f8c78c5d.patch
deleted file mode 100644
index a8ad182f76b4..000000000000
--- a/net-libs/libtirpc/files/libtirpc-1.0.1_remove-nis-h-dep-5f00f8c78c5d.patch
+++ /dev/null
@@ -1,137 +0,0 @@
-From: Thorsten Kukuk <kukuk@thkukuk.de>
-Date: Mon, 4 Apr 2016 13:44:19 +0000 (-0400)
-Subject: Remove dependency to nis.h
-X-Git-Tag: libtirpc-1-0-2-rc3~2
-X-Git-Url: http://git.linux-nfs.org/?p=steved%2Flibtirpc.git;a=commitdiff_plain;h=5f00f8c78c5d13437d50c0737ce77ad67fd4361d
-
-Remove dependency to nis.h
-
-libtirpc needs rpcsvc/nis.h for compiling, but does not
-provide this head file. It's only provided by glibc,
-if the sunrpc code is not marked as deprecated, and
-by libnsl. But libnsl needs libtirpc to compile...
-
-Signed-off-by: Steve Dickson <steved@redhat.com>
----
-
-diff --git a/src/auth_des.c b/src/auth_des.c
-index 4d3639e..af2f61f 100644
---- a/src/auth_des.c
-+++ b/src/auth_des.c
-@@ -46,8 +46,8 @@
- #include <rpc/clnt.h>
- #include <rpc/xdr.h>
- #include <sys/socket.h>
--#undef NIS
--#include <rpcsvc/nis.h>
-+
-+#include "nis.h"
-
- #if defined(LIBC_SCCS) && !defined(lint)
- #endif
-diff --git a/src/auth_time.c b/src/auth_time.c
-index 10e58eb..7f83ab4 100644
---- a/src/auth_time.c
-+++ b/src/auth_time.c
-@@ -44,8 +44,8 @@
- #include <rpc/rpcb_prot.h>
- //#include <clnt_soc.h>
- #include <sys/select.h>
--#undef NIS
--#include <rpcsvc/nis.h>
-+
-+#include "nis.h"
-
-
- #ifdef TESTING
-diff --git a/src/nis.h b/src/nis.h
-new file mode 100644
-index 0000000..588c041
---- /dev/null
-+++ b/src/nis.h
-@@ -0,0 +1,70 @@
-+/*
-+ * Copyright (c) 2010, Oracle America, Inc.
-+ *
-+ * Redistribution and use in source and binary forms, with or without
-+ * modification, are permitted provided that the following conditions are
-+ * met:
-+ *
-+ * * Redistributions of source code must retain the above copyright
-+ * notice, this list of conditions and the following disclaimer.
-+ * * Redistributions in binary form must reproduce the above
-+ * copyright notice, this list of conditions and the following
-+ * disclaimer in the documentation and/or other materials
-+ * provided with the distribution.
-+ * * Neither the name of the "Oracle America, Inc." nor the names of its
-+ * contributors may be used to endorse or promote products derived
-+ * from this software without specific prior written permission.
-+ *
-+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
-+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
-+ * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
-+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
-+ * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-+ */
-+
-+#ifndef _INTERNAL_NIS_H
-+#define _INTERNAL_NIS_H 1
-+
-+/* This file only contains the definition of nis_server, to be
-+ able to compile libtirpc without the need to have a glibc
-+ with sunrpc or a libnsl already installed. */
-+
-+#define NIS_PK_NONE 0
-+
-+struct nis_attr {
-+ char *zattr_ndx;
-+ struct {
-+ u_int zattr_val_len;
-+ char *zattr_val_val;
-+ } zattr_val;
-+};
-+typedef struct nis_attr nis_attr;
-+
-+typedef char *nis_name;
-+
-+struct endpoint {
-+ char *uaddr;
-+ char *family;
-+ char *proto;
-+};
-+typedef struct endpoint endpoint;
-+
-+struct nis_server {
-+ nis_name name;
-+ struct {
-+ u_int ep_len;
-+ endpoint *ep_val;
-+ } ep;
-+ uint32_t key_type;
-+ netobj pkey;
-+};
-+typedef struct nis_server nis_server;
-+
-+#endif /* ! _INTERNAL_NIS_H */
-diff --git a/src/rpc_soc.c b/src/rpc_soc.c
-index 1ec7b3f..ed0892a 100644
---- a/src/rpc_soc.c
-+++ b/src/rpc_soc.c
-@@ -61,8 +61,8 @@
- #include <string.h>
- #include <unistd.h>
- #include <fcntl.h>
--#include <rpcsvc/nis.h>
-
-+#include "nis.h"
- #include "rpc_com.h"
-
- extern mutex_t rpcsoc_lock;
-
diff --git a/net-libs/libtirpc/files/libtirpc-1.0.1_uclibc-dont-use-struct-rpcent.patch b/net-libs/libtirpc/files/libtirpc-1.0.1_uclibc-dont-use-struct-rpcent.patch
deleted file mode 100644
index b2760d2b77b4..000000000000
--- a/net-libs/libtirpc/files/libtirpc-1.0.1_uclibc-dont-use-struct-rpcent.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-From https://patchwork.kernel.org/patch/5499671/:
-
- Subject: [6/9] Define struct rpcent on non GNU libc
- From: Natanael Copa <ncopa@alpinelinux.org>
- X-Patchwork-Id: 5499671
- Message-Id: <1418718540-13667-7-git-send-email-ncopa@alpinelinux.org>
- To: libtirpc-devel@lists.sourceforge.net
- Cc: linux-nfs@vger.kernel.org, Natanael Copa <ncopa@alpinelinux.org>
- Date: Tue, 16 Dec 2014 09:28:57 +0100
-
- This fixes the following compile error with musl libc:
- getrpcent.c:65:16: error: field 'rpc' has incomplete type
- struct rpcent rpc;
- ^
-
- Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
- ---
- This patch could probably be better. It assumes that only GNU libc has
- the rpcent struct defined, but the BSDs probably has it too.
-
- I am not sure if uClibc has it, but uClibc does define __GLIBC__ so it
- might be broken there too.
-
- I looked into using AC_CHECK_MEMBER but I don't think it is a good idea
- so depend on config.h since this is a header that will be installed on
- the system.
-
- I also found out that struct rpcent is also defined in
- /usr/include/gssrpc/netdb.h but I am unsure if we can depend on that
- too since GSS is optional.
-
- So I am a bit in doubt what the proper fix is. Meanwhile, this works
- for musl libc.
-
-We fix the uClibc case by checking for __UCLIBC__ as well, since uClibc will
-define __GLIBC__ as well (why?) as __UCLIBC__. This should not affect the
-musl case.
----
-
-diff -Naurp libtirpc-1.0.1.orig/tirpc/rpc/rpcent.h libtirpc-1.0.1/tirpc/rpc/rpcent.h
---- libtirpc-1.0.1.orig/tirpc/rpc/rpcent.h 2015-10-30 15:15:14.000000000 +0000
-+++ libtirpc-1.0.1/tirpc/rpc/rpcent.h 2017-07-05 04:58:27.141468000 +0000
-@@ -49,7 +49,7 @@ extern "C" {
- #endif
-
- /* These are defined in /usr/include/rpc/netdb.h */
--#if !defined(__GLIBC__)
-+#if !defined(__GLIBC__) || defined(__UCLIBC__)
- struct rpcent {
- char *r_name; /* name of server for this rpc program */
- char **r_aliases; /* alias list */
diff --git a/net-libs/libtirpc/files/libtirpc-1.0.1_uclibc-use-memset-not-bzero.patch b/net-libs/libtirpc/files/libtirpc-1.0.1_uclibc-use-memset-not-bzero.patch
deleted file mode 100644
index f7657f74db43..000000000000
--- a/net-libs/libtirpc/files/libtirpc-1.0.1_uclibc-use-memset-not-bzero.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-Inspired by a similar fix here:
-http://git.yoctoproject.org/cgit.cgi/poky/plain/meta/packages/nfs-utils/files/uclibc_bzero_fix.patch?id=39d8c0fc4a9d14b7bad1442e05c536e28b196a47
-
-Because uclibc does not have a working implementation of `__bzero'.
----
-
-diff -Naurp libtirpc-1.0.1.orig/src/des_impl.c libtirpc-1.0.1/src/des_impl.c
---- libtirpc-1.0.1.orig/src/des_impl.c 2017-07-05 06:16:07.441468000 +0000
-+++ libtirpc-1.0.1/src/des_impl.c 2017-07-05 06:19:57.351468000 +0000
-@@ -588,7 +588,11 @@ _des_crypt (char *buf, unsigned len, str
- }
- tin0 = tin1 = tout0 = tout1 = xor0 = xor1 = 0;
- tbuf[0] = tbuf[1] = 0;
-+#ifndef __UCLIBC__
- __bzero (schedule, sizeof (schedule));
-+#else
-+ memset (schedule, 0, sizeof (schedule));
-+#endif
-
- return (1);
- }