summaryrefslogtreecommitdiff
path: root/package/libpcap/patches/201-space_optimization.patch
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-05-24 10:36:25 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-05-24 10:36:25 +0000
commit2f232288eea0d46b4278215e32faac385c8d3760 (patch)
tree66ccfa6307c7efe80c8b514568e2d4e154a25f17 /package/libpcap/patches/201-space_optimization.patch
parentb6fd9c3452977f582494fe9c6d2b3302b85a620a (diff)
[package] libpcap: add -fpic, refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26999 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/libpcap/patches/201-space_optimization.patch')
-rw-r--r--package/libpcap/patches/201-space_optimization.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/libpcap/patches/201-space_optimization.patch b/package/libpcap/patches/201-space_optimization.patch
index 29c293b623..f3eec4c839 100644
--- a/package/libpcap/patches/201-space_optimization.patch
+++ b/package/libpcap/patches/201-space_optimization.patch
@@ -1,6 +1,6 @@
--- a/gencode.c
+++ b/gencode.c
-@@ -439,20 +439,6 @@ pcap_compile_nopcap(int snaplen_arg, int
+@@ -491,20 +491,6 @@ pcap_compile_nopcap(int snaplen_arg, int
}
/*
@@ -23,7 +23,7 @@
* back to another unresolved block (or nil). At least one of the fields
--- a/pcap.c
+++ b/pcap.c
-@@ -698,6 +698,59 @@ static const u_char charmap[] = {
+@@ -748,6 +748,59 @@ static const u_char charmap[] = {
(u_char)'\374', (u_char)'\375', (u_char)'\376', (u_char)'\377',
};
@@ -85,7 +85,7 @@
{
--- a/optimize.c
+++ b/optimize.c
-@@ -2278,45 +2278,6 @@ icode_to_fcode(root, lenp)
+@@ -2292,45 +2292,6 @@ icode_to_fcode(root, lenp)
return fp;
}