aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/libpcap/patches/201-space_optimization.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-02-05 09:54:34 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-02-05 09:54:34 +0000
commitf20b989b65d820b042818af884f809b92ac9007c (patch)
tree0a59a8c37b46194021b7d7034f027b5339bcb3cc /package/libs/libpcap/patches/201-space_optimization.patch
parent4083a66c8e92d61f2db51e4086960daf0d9ee761 (diff)
downloadmaster-187ad058-f20b989b65d820b042818af884f809b92ac9007c.tar.gz
master-187ad058-f20b989b65d820b042818af884f809b92ac9007c.tar.bz2
master-187ad058-f20b989b65d820b042818af884f809b92ac9007c.zip
libpcap: update to current upstream version 1.5.3
-size_of(old libpcap-1.3.0) = 85228 Byte -size_of(new libpcap-1.5.3) = 88587 Byte => ~3.3 KByte increase git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39473 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/libs/libpcap/patches/201-space_optimization.patch')
-rw-r--r--package/libs/libpcap/patches/201-space_optimization.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/libs/libpcap/patches/201-space_optimization.patch b/package/libs/libpcap/patches/201-space_optimization.patch
index f3eec4c839..ee3cd3b858 100644
--- a/package/libs/libpcap/patches/201-space_optimization.patch
+++ b/package/libs/libpcap/patches/201-space_optimization.patch
@@ -1,6 +1,6 @@
--- a/gencode.c
+++ b/gencode.c
-@@ -491,20 +491,6 @@ pcap_compile_nopcap(int snaplen_arg, int
+@@ -511,20 +511,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
-@@ -748,6 +748,59 @@ static const u_char charmap[] = {
+@@ -1075,6 +1075,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
-@@ -2292,45 +2292,6 @@ icode_to_fcode(root, lenp)
+@@ -2193,45 +2193,6 @@ icode_to_fcode(struct block *root, u_int
return fp;
}
@@ -130,4 +130,4 @@
-
#ifdef BDEBUG
static void
- opt_dump(root)
+ opt_dump(struct block *root)