소스 검색

fix musl compile

Waldemar Brodkorb 10 년 전
부모
커밋
e4e8ca04a5
2개의 변경된 파일11개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      package/libnfsidmap/Makefile
  2. 10 0
      package/libnfsidmap/patches/patch-cfg_c

+ 1 - 1
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

+ 10 - 0
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>