From f96744e56753a17601f7cc66a4f5388278d151ed Mon Sep 17 00:00:00 2001
From: Waldemar Brodkorb <wbx@openadk.org>
Date: Thu, 10 Oct 2013 15:31:47 +0200
Subject: workaround compile error for avr32

---
 package/iproute2/Makefile               |  2 +-
 package/iproute2/patches/patch-Makefile | 11 +++++++++++
 2 files changed, 12 insertions(+), 1 deletion(-)
 create mode 100644 package/iproute2/patches/patch-Makefile

(limited to 'package/iproute2')

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)
-- 
cgit v1.2.3