summaryrefslogtreecommitdiffstats
path: root/package/libpcap/patches
diff options
context:
space:
mode:
Diffstat (limited to 'package/libpcap/patches')
-rw-r--r--package/libpcap/patches/cross-compile-fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/libpcap/patches/cross-compile-fix.patch b/package/libpcap/patches/cross-compile-fix.patch
new file mode 100644
index 000000000..196ee34eb
--- /dev/null
+++ b/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