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