aboutsummaryrefslogtreecommitdiffstats
path: root/main/rpcbind/0001-uclibc-nss.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-07-01 14:48:52 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-07-01 14:48:52 +0000
commit5c86f55307beee498cfe5c79678fe492a90e7a1a (patch)
tree838f0e2dd6f13ddc87c93d22534952c24a314c2f /main/rpcbind/0001-uclibc-nss.patch
parent50c6b6ef245d58b7405c42b173f82da205974ccf (diff)
downloadaports-5c86f55307beee498cfe5c79678fe492a90e7a1a.tar.bz2
aports-5c86f55307beee498cfe5c79678fe492a90e7a1a.tar.xz
main/rpcbind: moved from testing
Diffstat (limited to 'main/rpcbind/0001-uclibc-nss.patch')
-rw-r--r--main/rpcbind/0001-uclibc-nss.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/main/rpcbind/0001-uclibc-nss.patch b/main/rpcbind/0001-uclibc-nss.patch
new file mode 100644
index 0000000000..3685c03b66
--- /dev/null
+++ b/main/rpcbind/0001-uclibc-nss.patch
@@ -0,0 +1,28 @@
+From b8f0d7b7318ba344c25785d6f5cf3f8de98012d4 Mon Sep 17 00:00:00 2001
+From: Natanael Copa <ncopa@alpinelinux.org>
+Date: Tue, 2 Feb 2010 09:36:03 +0000
+Subject: [PATCH 1/2] uclibc-nss
+
+---
+ src/rpcbind.c | 4 ++++
+ 1 files changed, 4 insertions(+), 0 deletions(-)
+
+diff --git a/src/rpcbind.c b/src/rpcbind.c
+index 525ffba..1fe1a60 100644
+--- a/src/rpcbind.c
++++ b/src/rpcbind.c
+@@ -67,7 +67,11 @@
+ #include <pwd.h>
+ #include <string.h>
+ #include <errno.h>
++#if defined(__UCLIBC__)
++#define __nss_configure_lookup(x,y)
++#else
+ #include <nss.h>
++#endif
+ #include "config.h"
+ #include "rpcbind.h"
+
+--
+1.6.6.1
+