diff --git a/decls.patch b/decls.patch new file mode 100644 index 0000000..921e482 --- /dev/null +++ b/decls.patch @@ -0,0 +1,12 @@ +Index: libnsl-1.0.5/src/nisplus/nis_call.c +=================================================================== +--- libnsl-1.0.5.orig/src/nisplus/nis_call.c ++++ libnsl-1.0.5/src/nisplus/nis_call.c +@@ -23,6 +23,7 @@ + #include + #include + #include ++#include + #include + #include + #include diff --git a/libnsl.changes b/libnsl.changes index 59f65d1..413e7a1 100644 --- a/libnsl.changes +++ b/libnsl.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jul 5 13:53:16 UTC 2017 - schwab@suse.de + +- decls.patch: fix missing declarations + ------------------------------------------------------------------- Thu Feb 23 11:38:55 CET 2017 - kukuk@suse.de diff --git a/libnsl.spec b/libnsl.spec index e0c51ee..4a95888 100644 --- a/libnsl.spec +++ b/libnsl.spec @@ -31,6 +31,7 @@ BuildRequires: libtirpc-devel >= 1.0 Url: http://github.com/thkukuk/libnsl Source: %{name}-%{version}.tar.bz2 Source1: baselibs.conf +Patch: decls.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %define debug_package_requires libnsl1 = %{version}-%{release} @@ -66,6 +67,7 @@ The NIS+ API is deprecated and only there "as is". %prep %setup -q +%patch -p1 %build %configure --libdir=/%{_libdir}/nsl --includedir=%{_includedir}/nsl