diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2008-08-20 14:00:34 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2008-08-20 14:00:34 +0000 |
commit | 088d86511f9e407a27a62e16af60ced1fb05944f (patch) | |
tree | e2bbc127a4a059392f3c5bea27e2944e0c149ecb /package/busybox/patches/523-conffiles_fix.patch | |
parent | 57db10667068d52282c008a820e50d930c99d3fa (diff) | |
download | master-187ad058-088d86511f9e407a27a62e16af60ced1fb05944f.tar.gz master-187ad058-088d86511f9e407a27a62e16af60ced1fb05944f.tar.bz2 master-187ad058-088d86511f9e407a27a62e16af60ced1fb05944f.zip |
upgrade busybox to v1.11.1 and add current upstream fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12348 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/busybox/patches/523-conffiles_fix.patch')
-rw-r--r-- | package/busybox/patches/523-conffiles_fix.patch | 31 |
1 files changed, 11 insertions, 20 deletions
diff --git a/package/busybox/patches/523-conffiles_fix.patch b/package/busybox/patches/523-conffiles_fix.patch index 15ac083cdf..09c93595f5 100644 --- a/package/busybox/patches/523-conffiles_fix.patch +++ b/package/busybox/patches/523-conffiles_fix.patch @@ -1,7 +1,5 @@ -Index: busybox-1.8.2/archival/libipkg/pkg.c -=================================================================== ---- busybox-1.8.2.orig/archival/libipkg/pkg.c 2008-01-03 17:25:55.000000000 +0100 -+++ busybox-1.8.2/archival/libipkg/pkg.c 2008-01-03 17:33:57.000000000 +0100 +--- a/archival/libipkg/pkg.c ++++ b/archival/libipkg/pkg.c @@ -575,25 +575,28 @@ return temp; } @@ -36,16 +34,10 @@ Index: busybox-1.8.2/archival/libipkg/pkg.c } else if (strcasecmp(field, "Conflicts") == 0) { int i; -Index: busybox-1.8.2/archival/libipkg/pkg_parse.c -=================================================================== ---- busybox-1.8.2.orig/archival/libipkg/pkg_parse.c 2008-01-03 17:25:55.000000000 +0100 -+++ busybox-1.8.2/archival/libipkg/pkg_parse.c 2008-01-03 17:30:14.000000000 +0100 - -85,20 +85,17 @@ - { - char file_name[1048], md5sum[1048]; /* please tell me there aren't any longer that 1k */ - -- if(!strncmp(raw, "Conffiles:", 10)) -+ if(!strncmp(raw, "Conffiles:",10)) +--- a/archival/libipkg/pkg_parse.c ++++ b/archival/libipkg/pkg_parse.c +@@ -88,17 +88,14 @@ + if(!strncmp(raw, "Conffiles:", 10)) raw += strlen("Conffiles:"); + while(*raw && isspace(*raw)) raw++; @@ -55,14 +47,13 @@ Index: busybox-1.8.2/archival/libipkg/pkg_parse.c - while (*raw && isspace(*raw)) { - raw++; - } -- raw += strlen(file_name); + raw += strlen(file_name); - while (*raw && isspace(*raw)) { - raw++; - } -- raw += strlen(md5sum); -+ raw += strlen(file_name); + while(*raw && isspace(*raw)) raw++; -+ raw += strlen(md5sum); -+ while(*raw && isspace(*raw)) raw++; + raw += strlen(md5sum); ++ while(*raw && isspace(*raw)) raw++; } - } + } + |