summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-12-27 18:01:35 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-12-27 18:01:35 +0100
commit6cd8332131fcdd61760ff2714c2a443e4a2a04d3 (patch)
tree554946c7db9aa1302d7a333acd272a9dbc1341b2
parent68fb2db0aa80b9cb05c43e16e16010459b6722eb (diff)
fix musl compile
-rw-r--r--package/net-tools/Makefile2
-rw-r--r--package/net-tools/patches/patch-lib_inet_c11
2 files changed, 12 insertions, 1 deletions
diff --git a/package/net-tools/Makefile b/package/net-tools/Makefile
index 711f150ef..e550059a4 100644
--- a/package/net-tools/Makefile
+++ b/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
diff --git a/package/net-tools/patches/patch-lib_inet_c b/package/net-tools/patches/patch-lib_inet_c
new file mode 100644
index 000000000..915cb7131
--- /dev/null
+++ b/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);
+ }
+
+