aboutsummaryrefslogtreecommitdiffstats
path: root/community/libnsl/cdefs.patch
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-07-03 09:07:07 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-07-03 09:07:07 +0000
commit925deab8814d5aca05091f621e57426c698eafe9 (patch)
tree41634ff1256bc25fd89b0e71b0bb21718e5bddee /community/libnsl/cdefs.patch
parent7acdbc68ea9e9c3736761e763f7d259ab69f91c1 (diff)
downloadaports-925deab8814d5aca05091f621e57426c698eafe9.tar.bz2
aports-925deab8814d5aca05091f621e57426c698eafe9.tar.xz
community/libnsl: moved from testing, added check() function
Diffstat (limited to 'community/libnsl/cdefs.patch')
-rw-r--r--community/libnsl/cdefs.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/community/libnsl/cdefs.patch b/community/libnsl/cdefs.patch
new file mode 100644
index 0000000000..dbbe800a34
--- /dev/null
+++ b/community/libnsl/cdefs.patch
@@ -0,0 +1,30 @@
+--- a/src/rpcsvc/nislib.h
++++ b/src/rpcsvc/nislib.h
+@@ -19,6 +19,7 @@
+ #ifndef __RPCSVC_NISLIB_H__
+ #define __RPCSVC_NISLIB_H__
+
++#include <sys/cdefs.h>
+ #include <features.h>
+
+ __BEGIN_DECLS
+--- a/src/rpcsvc/ypclnt.h
++++ b/src/rpcsvc/ypclnt.h
+@@ -20,6 +20,7 @@
+ #ifndef __RPCSVC_YPCLNT_H__
+ #define __RPCSVC_YPCLNT_H__
+
++#include <sys/cdefs.h>
+ #include <features.h>
+
+ /* Some defines */
+--- a/src/rpcsvc/ypupd.h
++++ b/src/rpcsvc/ypupd.h
+@@ -33,6 +33,7 @@
+ #ifndef __RPCSVC_YPUPD_H__
+ #define __RPCSVC_YPUPD_H__
+
++#include <sys/cdefs.h>
+ #include <features.h>
+
+ #include <rpc/rpc.h>