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
This commit is contained in:
Thorsten Kukuk 2017-08-02 11:29:50 +00:00 committed by Git OBS Bridge
parent 1df145f455
commit f6ed5f3697
3 changed files with 19 additions and 0 deletions

12
decls.patch Normal file
View File

@ -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 <unistd.h>
#include <sys/socket.h>
#include <sys/un.h>
+#include <sys/uio.h>
#include "libnscd.h"

View File

@ -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

View File

@ -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