Browse Source

fix cross-compile on Darwin

Waldemar Brodkorb 13 years ago
parent
commit
9d7481f99a

+ 1 - 1
package/nfs-utils/Makefile

@@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk
 
 PKG_NAME:=		nfs-utils
 PKG_VERSION:=		1.2.3
-PKG_RELEASE:=		2
+PKG_RELEASE:=		3
 PKG_MD5SUM:=		1131dc5f27c4f3905a6e7ee0d594fd4d
 PKG_DESCR:=		Utilities for NFS kernel server implementation
 PKG_SECTION:=		net/fs

+ 3 - 2
package/nfs-utils/patches/patch-support_include_sockaddr_h

@@ -1,10 +1,11 @@
 --- nfs-utils-1.2.3.orig/support/include/sockaddr.h	2010-09-28 14:24:16.000000000 +0200
-+++ nfs-utils-1.2.3/support/include/sockaddr.h	2010-12-25 00:47:43.000000000 +0100
-@@ -20,7 +20,6 @@
++++ nfs-utils-1.2.3/support/include/sockaddr.h	2011-01-03 12:12:10.000000000 +0100
+@@ -20,7 +20,7 @@
  #ifndef NFS_UTILS_SOCKADDR_H
  #define NFS_UTILS_SOCKADDR_H
  
 -#include <libio.h>
++#include <stddef.h>
  #include <stdbool.h>
  #include <sys/socket.h>
  #include <netinet/in.h>