summaryrefslogtreecommitdiff
path: root/package/libtirpc/patches/patch-src_getrpcent_c
diff options
context:
space:
mode:
Diffstat (limited to 'package/libtirpc/patches/patch-src_getrpcent_c')
-rw-r--r--package/libtirpc/patches/patch-src_getrpcent_c41
1 files changed, 0 insertions, 41 deletions
diff --git a/package/libtirpc/patches/patch-src_getrpcent_c b/package/libtirpc/patches/patch-src_getrpcent_c
deleted file mode 100644
index 8e213ae54..000000000
--- a/package/libtirpc/patches/patch-src_getrpcent_c
+++ /dev/null
@@ -1,41 +0,0 @@
---- libtirpc-0.2.4.orig/src/getrpcent.c 2013-12-09 21:59:51.000000000 +0100
-+++ libtirpc-0.2.4/src/getrpcent.c 2014-05-18 08:04:03.462885748 +0200
-@@ -50,6 +50,10 @@
- #include <libc_private.h>
- #endif
-
-+#if HAVE_CONFIG_H
-+#include "config.h"
-+#endif
-+
- /*
- * Internet version.
- */
-@@ -89,7 +93,7 @@ _rpcdata()
- return (d);
- }
-
--#ifdef GQ
-+#if !HAVE_GETRPCBYNYMBER
- struct rpcent *
- getrpcbynumber(number)
- int number;
-@@ -135,7 +139,9 @@ no_yp:
- endrpcent();
- return (p);
- }
-+#endif /* !HAVE_GETRPCBYNUMBER */
-
-+#if !HAVE_GETRPCBYNAME
- struct rpcent *
- getrpcbyname(name)
- const char *name;
-@@ -158,7 +164,7 @@ done:
- endrpcent();
- return (rpc);
- }
--#endif /* GQ */
-+#endif /* !HAVE_GETRPCBYNAME */
-
- void
- setrpcent(f)