]> git.pld-linux.org Git - packages/rpcbind.git/commitdiff
- fix missing preprocessor var removed with config.h in 0.2.1 auto/th/rpcbind-0.2.1-2
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 16 Sep 2013 12:37:06 +0000 (14:37 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Mon, 16 Sep 2013 12:37:06 +0000 (14:37 +0200)
- rel 2

rpcbind-nss.h.patch [new file with mode: 0644]
rpcbind.spec

diff --git a/rpcbind-nss.h.patch b/rpcbind-nss.h.patch
new file mode 100644 (file)
index 0000000..808aa10
--- /dev/null
@@ -0,0 +1,14 @@
+--- rpcbind-0.2.1/src/rpcbind.c~       2013-09-16 14:22:37.567231241 +0200
++++ rpcbind-0.2.1/src/rpcbind.c        2013-09-16 14:31:27.464077535 +0200
+@@ -67,11 +67,7 @@
+ #include <pwd.h>
+ #include <string.h>
+ #include <errno.h>
+-#ifdef HAVE_NSS_H
+ #include <nss.h>
+-#else
+-static inline void __nss_configure_lookup(const char *db, const char *s) {}
+-#endif
+ #include "rpcbind.h"
+ /*#define RPCBIND_DEBUG*/
index 94540fb3fbbff09a0030a63861529d5086b51fd3..35b4c3ad6ea64e33a5ac477a18cb66cf96719abe 100644 (file)
@@ -2,7 +2,7 @@ Summary:        Universal addresses to RPC program number mapper
 Summary(pl.UTF-8):     Demon odwzorowujący adresy uniwersalne na numery programów RPC
 Name:          rpcbind
 Version:       0.2.1
-Release:       1
+Release:       2
 License:       BSD
 Group:         Daemons
 Source0:       http://downloads.sourceforge.net/rpcbind/%{name}-%{version}.tar.bz2
@@ -14,6 +14,7 @@ Source4:      %{name}.socket
 Patch0:                %{name}-libwrap.patch
 Patch1:                %{name}-syslog.patch
 Patch2:                %{name}-sunrpc.patch
+Patch3:                %{name}-nss.h.patch
 Patch6:                %{name}-tcp-addrs.patch
 # http://nfsv4.bullopensource.org/doc/tirpc_rpcbind.php
 URL:           http://sourceforge.net/projects/rpcbind/
@@ -54,6 +55,7 @@ wywołania RPC na serwerze na tej maszynie.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 %patch6 -p1
 
 %build
This page took 0.093212 seconds and 4 git commands to generate.