summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-10 15:31:47 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-10 15:31:47 +0200
commitf96744e56753a17601f7cc66a4f5388278d151ed (patch)
treebf918f3bda7aace8df936fa9f8df8819dce8a44f
parent346d35c30d0da6347657eed64255f40aa0bcc9ef (diff)
workaround compile error for avr32
-rw-r--r--package/iproute2/Makefile2
-rw-r--r--package/iproute2/patches/patch-Makefile11
2 files changed, 12 insertions, 1 deletions
diff --git a/package/iproute2/Makefile b/package/iproute2/Makefile
index 21e38f214..310a0086d 100644
--- a/package/iproute2/Makefile
+++ b/package/iproute2/Makefile
@@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= iproute2
PKG_VERSION:= 3.10.0
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= 45fb5427fc723a0001c72b92c931ba02
PKG_DESCR:= iproute2 routing control utility
PKG_SECTION:= route
diff --git a/package/iproute2/patches/patch-Makefile b/package/iproute2/patches/patch-Makefile
new file mode 100644
index 000000000..44cda46e9
--- /dev/null
+++ b/package/iproute2/patches/patch-Makefile
@@ -0,0 +1,11 @@
+--- iproute2-3.10.0.orig/Makefile 2013-07-16 19:06:36.000000000 +0200
++++ iproute2-3.10.0/Makefile 2013-10-10 15:30:09.000000000 +0200
+@@ -30,7 +30,7 @@ CC = gcc
+ HOSTCC = gcc
+ DEFINES += -D_GNU_SOURCE
+ CCOPTS = -O2
+-WFLAGS := -Wall -Wstrict-prototypes -Werror -Wmissing-prototypes
++WFLAGS := -Wall -Wstrict-prototypes -Wmissing-prototypes
+ WFLAGS += -Wmissing-declarations -Wold-style-definition
+
+ CFLAGS = $(WFLAGS) $(CCOPTS) -I../include $(DEFINES)