Accepting request 513176 from home:Andreas_Schwab:glibc:rebuild

- decls.patch: fix missing declarations

OBS-URL: https://build.opensuse.org/request/show/513176
OBS-URL: https://build.opensuse.org/package/show/network:NIS/libnsl?expand=0&rev=9
This commit is contained in:
Thorsten Kukuk 2017-08-02 11:28:48 +00:00 committed by Git OBS Bridge
parent b85b9e00d0
commit 006044eed2
3 changed files with 19 additions and 0 deletions

12
decls.patch Normal file
View File

@ -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 <errno.h>
#include <fcntl.h>
#include <string.h>
+#include <stdint.h>
#include <libintl.h>
#include <rpc/rpc.h>
#include <rpc/auth.h>

View File

@ -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 Thu Feb 23 11:38:55 CET 2017 - kukuk@suse.de

View File

@ -31,6 +31,7 @@ BuildRequires: libtirpc-devel >= 1.0
Url: http://github.com/thkukuk/libnsl Url: http://github.com/thkukuk/libnsl
Source: %{name}-%{version}.tar.bz2 Source: %{name}-%{version}.tar.bz2
Source1: baselibs.conf Source1: baselibs.conf
Patch: decls.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define debug_package_requires libnsl1 = %{version}-%{release} %define debug_package_requires libnsl1 = %{version}-%{release}
@ -66,6 +67,7 @@ The NIS+ API is deprecated and only there "as is".
%prep %prep
%setup -q %setup -q
%patch -p1
%build %build
%configure --libdir=/%{_libdir}/nsl --includedir=%{_includedir}/nsl %configure --libdir=/%{_libdir}/nsl --includedir=%{_includedir}/nsl