[oe-commits] Jeremy Puhlman : iptables: Add patch to use cross ar and ranlib.

git version control git at git.openembedded.org
Thu Aug 27 20:24:36 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: f0b67d21ab82330aceee1f32d46add93b87875e4
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=f0b67d21ab82330aceee1f32d46add93b87875e4

Author: Jeremy Puhlman <jpuhlman at mvista.com>
Date:   Tue Jul 14 19:10:03 2009 -0700

iptables: Add patch to use cross ar and ranlib.

Signed-off-by: Jeremy Puhlman <jpuhlman at mvista.com>
Signed-off-by: Chris Larson <clarson at mvista.com>

---

 recipes/iptables/files/cross-iptables.diff |   15 +++++++++++++++
 recipes/iptables/iptables_1.3.8.bb         |    3 ++-
 2 files changed, 17 insertions(+), 1 deletions(-)

diff --git a/recipes/iptables/files/cross-iptables.diff b/recipes/iptables/files/cross-iptables.diff
new file mode 100644
index 0000000..8027b07
--- /dev/null
+++ b/recipes/iptables/files/cross-iptables.diff
@@ -0,0 +1,15 @@
+--- a/extensions/Makefile~	2007-03-21 17:04:36.000000000 -0700
++++ b/extensions/Makefile	2009-07-14 19:01:56.000000000 -0700
+@@ -80,10 +80,10 @@
+ 
+ ifdef NO_SHARED_LIBS
+ extensions/libext.a: $(EXT_OBJS)
+-	rm -f $@; ar crv $@ $(EXT_OBJS)
++	rm -f $@; $(AR) crv $@ $(EXT_OBJS); $(RANLIB) $@
+ 
+ extensions/libext6.a: $(EXT6_OBJS)
+-	rm -f $@; ar crv $@ $(EXT6_OBJS)
++	rm -f $@; $(AR) crv $@ $(EXT6_OBJS); $(RANLIB) $@
+ 
+ extensions/initext.o: extensions/initext.c
+ extensions/initext6.o: extensions/initext6.c
diff --git a/recipes/iptables/iptables_1.3.8.bb b/recipes/iptables/iptables_1.3.8.bb
index 040be06..520e336 100644
--- a/recipes/iptables/iptables_1.3.8.bb
+++ b/recipes/iptables/iptables_1.3.8.bb
@@ -1,8 +1,9 @@
 require iptables.inc
-PR = "r4"
+PR = "r5"
 
 SRC_URI += "\
   file://getsockopt-failed.patch;patch=1 \
   file://iptables-use-s6_addr32.patch;patch=1 \
+  file://cross-iptables.diff;patch=1 \
 "
 





More information about the Openembedded-commits mailing list