]> git.pld-linux.org Git - packages/libnscd.git/commitdiff
fix build (missing include for writev) master
authorJan Palus <atler@pld-linux.org>
Tue, 28 Apr 2020 11:14:23 +0000 (13:14 +0200)
committerJan Palus <atler@pld-linux.org>
Tue, 28 Apr 2020 11:14:23 +0000 (13:14 +0200)
libnscd-writev.patch [new file with mode: 0644]
libnscd.spec

diff --git a/libnscd-writev.patch b/libnscd-writev.patch
new file mode 100644 (file)
index 0000000..1369b9b
--- /dev/null
@@ -0,0 +1,10 @@
+--- libnscd-2.0.2/src/libnscd.c.orig   2020-04-28 13:13:02.196027384 +0200
++++ libnscd-2.0.2/src/libnscd.c        2020-04-28 13:12:44.799392886 +0200
+@@ -26,6 +26,7 @@
+ #include <string.h>
+ #include <unistd.h>
+ #include <sys/socket.h>
++#include <sys/uio.h>
+ #include <sys/un.h>
+ #include "libnscd.h"
index c3dada7e2bd52addc187f18280775984e6e95c26..3295953566925cdb7ff81430206e6a72d964f0b3 100644 (file)
@@ -7,6 +7,7 @@ License:        LGPL v2.1
 Group:         Libraries
 Source0:       http://suse.osuosl.org/people/kukuk/libnscd/%{name}-%{version}.tar.bz2
 # Source0-md5: a6f37e961de4f09c06df43070a47c615
+Patch0:                %{name}-writev.patch
 BuildRequires: automake
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -46,6 +47,7 @@ Statyczna biblioteka libnscd.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 cp -f /usr/share/automake/config.* .
This page took 0.106634 seconds and 4 git commands to generate.