summaryrefslogtreecommitdiff
path: root/package/libnfsidmap
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-08-14 10:49:04 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-08-14 10:49:04 +0200
commite4e8ca04a55b982e1e8e36bbec832365513904b3 (patch)
tree744f1fa50c6cd9cddd84f5461fa09d78e47969e9 /package/libnfsidmap
parent1e2aa4d3dd5424b3c0aaefdca585608fe9b4092e (diff)
fix musl compile
Diffstat (limited to 'package/libnfsidmap')
-rw-r--r--package/libnfsidmap/Makefile2
-rw-r--r--package/libnfsidmap/patches/patch-cfg_c10
2 files changed, 11 insertions, 1 deletions
diff --git a/package/libnfsidmap/Makefile b/package/libnfsidmap/Makefile
index 2d22b7dac..7a9e40d4c 100644
--- a/package/libnfsidmap/Makefile
+++ b/package/libnfsidmap/Makefile
@@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:= libnfsidmap
PKG_VERSION:= 0.25
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= 2ac4893c92716add1a1447ae01df77ab
PKG_DESCR:= idmap library for NFSv4
PKG_SECTION:= libs
diff --git a/package/libnfsidmap/patches/patch-cfg_c b/package/libnfsidmap/patches/patch-cfg_c
new file mode 100644
index 000000000..decd41ea3
--- /dev/null
+++ b/package/libnfsidmap/patches/patch-cfg_c
@@ -0,0 +1,10 @@
+--- libnfsidmap-0.25.orig/cfg.c 2011-12-05 21:28:10.000000000 +0100
++++ libnfsidmap-0.25/cfg.c 2013-08-13 12:25:51.000000000 +0200
+@@ -34,6 +34,7 @@
+ #include <sys/mman.h>
+ #include <sys/socket.h>
+ #include <sys/stat.h>
++#include <sys/types.h>
+ #include <netinet/in.h>
+ #include <arpa/inet.h>
+ #include <ctype.h>