summaryrefslogtreecommitdiffstats
path: root/openwrt/package/libpcap/patches
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/libpcap/patches')
-rw-r--r--openwrt/package/libpcap/patches/cross-compile-fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/openwrt/package/libpcap/patches/cross-compile-fix.patch b/openwrt/package/libpcap/patches/cross-compile-fix.patch
new file mode 100644
index 000000000..196ee34eb
--- /dev/null
+++ b/openwrt/package/libpcap/patches/cross-compile-fix.patch
@@ -0,0 +1,11 @@
+--- libpcap-0.8.3/Makefile.in.orig 2005-01-17 19:04:41.291056960 -0500
++++ libpcap-0.8.3/Makefile.in 2005-01-17 19:04:47.836061968 -0500
+@@ -100,7 +100,7 @@
+
+ libpcap.a: $(OBJ)
+ @rm -f $@
+- ar rc $@ $(OBJ) $(LIBS)
++ $(AR) rc $@ $(OBJ) $(LIBS)
+ $(RANLIB) $@
+
+ scanner.c: $(srcdir)/scanner.l