From: Michael Tremer Date: Sun, 7 Feb 2010 14:54:15 +0000 (+0100) Subject: iproute2: Copy patch files into repository. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b45f060fa9aa56ba63bcefc2ed44283a8071ca0;p=ipfire-3.x.git iproute2: Copy patch files into repository. --- diff --git a/pkgs/core/iproute2/iproute2.nm b/pkgs/core/iproute2/iproute2.nm index 3b426194a..96f35a6c2 100644 --- a/pkgs/core/iproute2/iproute2.nm +++ b/pkgs/core/iproute2/iproute2.nm @@ -44,8 +44,6 @@ endef PKG_TARBALL = $(THISAPP).tar.bz2 -PKG_PATCHES += $(THISAPP)-opt_flags.patch - ############################################################################### # Installation Details ############################################################################### diff --git a/pkgs/core/iproute2/patches/iproute2-2.6.29-1-opt_flags.patch b/pkgs/core/iproute2/patches/iproute2-2.6.29-1-opt_flags.patch new file mode 100644 index 000000000..aea736224 --- /dev/null +++ b/pkgs/core/iproute2/patches/iproute2-2.6.29-1-opt_flags.patch @@ -0,0 +1,12 @@ +diff -up iproute2-2.6.29/Makefile.opt iproute2-2.6.29/Makefile +--- iproute2-2.6.29/Makefile.opt 2008-08-12 14:19:58.000000000 +0200 ++++ iproute2-2.6.29/Makefile 2008-08-12 14:21:42.000000000 +0200 +@@ -22,7 +22,7 @@ ADDLIB+=ipx_ntop.o ipx_pton.o + + CC = gcc + HOSTCC = gcc +-CCOPTS = -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall ++CCOPTS = -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall $(OPT_FLAGS) + CFLAGS = $(CCOPTS) -I../include $(DEFINES) + YACCFLAGS = -d -t -v +