From f6ed5f36974638a56f3abf5a86e0addb4c516fb30ac6c5d855dba86a3b62533b Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Wed, 2 Aug 2017 11:29:50 +0000 Subject: [PATCH] Accepting request 513175 from home:Andreas_Schwab:glibc:rebuild - decls.patch: fix missing declarations OBS-URL: https://build.opensuse.org/request/show/513175 OBS-URL: https://build.opensuse.org/package/show/Base:System/libnscd?expand=0&rev=16 --- decls.patch | 12 ++++++++++++ libnscd.changes | 5 +++++ libnscd.spec | 2 ++ 3 files changed, 19 insertions(+) create mode 100644 decls.patch diff --git a/decls.patch b/decls.patch new file mode 100644 index 0000000..116607d --- /dev/null +++ b/decls.patch @@ -0,0 +1,12 @@ +Index: libnscd-2.0.2/src/libnscd.c +=================================================================== +--- libnscd-2.0.2.orig/src/libnscd.c ++++ libnscd-2.0.2/src/libnscd.c +@@ -27,6 +27,7 @@ + #include + #include + #include ++#include + + #include "libnscd.h" + diff --git a/libnscd.changes b/libnscd.changes index 96b9084..fcd9a87 100644 --- a/libnscd.changes +++ b/libnscd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jul 5 14:27:45 UTC 2017 - schwab@suse.de + +- decls.patch: fix missing declarations + ------------------------------------------------------------------- Mon Aug 18 15:13:54 UTC 2014 - fcrozat@suse.com diff --git a/libnscd.spec b/libnscd.spec index 64aa3d1..72f40b0 100644 --- a/libnscd.spec +++ b/libnscd.spec @@ -26,6 +26,7 @@ Group: Development/Libraries/C and C++ Source: http://ftp.suse.com/pub/people/kukuk/libnscd/libnscd-%version.tar.bz2 Source2: baselibs.conf +Patch: decls.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build # bug437293 %ifarch ppc64 @@ -69,6 +70,7 @@ to develop applications that needs to communicate with a running nscd. %prep %setup -q +%patch -p1 %build %configure --disable-static --with-pic