summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>