[packages/rpcbind] - fix missing preprocessor var removed with config.h in 0.2.1 - rel 2
baggins
baggins at pld-linux.org
Mon Sep 16 14:38:01 CEST 2013
commit 6dcb5b5895fb668a7954599f95cc2313c15e9c6b
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Mon Sep 16 14:37:06 2013 +0200
- fix missing preprocessor var removed with config.h in 0.2.1
- rel 2
rpcbind-nss.h.patch | 14 ++++++++++++++
rpcbind.spec | 4 +++-
2 files changed, 17 insertions(+), 1 deletion(-)
---
diff --git a/rpcbind.spec b/rpcbind.spec
index 94540fb..35b4c3a 100644
--- a/rpcbind.spec
+++ b/rpcbind.spec
@@ -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
diff --git a/rpcbind-nss.h.patch b/rpcbind-nss.h.patch
new file mode 100644
index 0000000..808aa10
--- /dev/null
+++ b/rpcbind-nss.h.patch
@@ -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*/
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rpcbind.git/commitdiff/6dcb5b5895fb668a7954599f95cc2313c15e9c6b
More information about the pld-cvs-commit
mailing list