Browse Source

fix musl compile

Waldemar Brodkorb 11 years ago
parent
commit
6cd8332131
2 changed files with 12 additions and 1 deletions
  1. 1 1
      package/net-tools/Makefile
  2. 11 0
      package/net-tools/patches/patch-lib_inet_c

+ 1 - 1
package/net-tools/Makefile

@@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=		net-tools
 PKG_VERSION:=		1.60
-PKG_RELEASE:=		1
+PKG_RELEASE:=		2
 PKG_MD5SUM:=		888774accab40217dde927e21979c165
 PKG_DESCR:=		Linux net-tools
 PKG_SECTION:=		net

+ 11 - 0
package/net-tools/patches/patch-lib_inet_c

@@ -0,0 +1,11 @@
+--- net-tools-1.60.orig/lib/inet.c	2000-05-22 23:27:13.000000000 +0200
++++ net-tools-1.60/lib/inet.c	2013-12-27 18:00:30.000000000 +0100
+@@ -224,7 +224,7 @@ static int INET_rresolve(char *name, siz
+ 
+ static void INET_reserror(char *text)
+ {
+-    herror(text);
++    perror(text);
+ }
+ 
+