diff options
author | Mike Westerhof <mwester@dls.net> | 2009-03-03 23:26:42 -0600 |
---|---|---|
committer | Mike Westerhof <mwester@dls.net> | 2009-03-03 23:26:42 -0600 |
commit | 92b80c3e77591487eb77c1588004ef0ef74b0f83 (patch) | |
tree | 626e43e2cf0723fce7180ca6fe3def7b7d244543 /packages/opkg/files/opkg_unarchive.patch | |
parent | 6b809bb153c1493caa4934b43075b7402d85055d (diff) | |
download | openembedded-92b80c3e77591487eb77c1588004ef0ef74b0f83.tar.gz |
SlugOS 5.3-beta: update the opkg-unarchive fixorg.openembedded.slugos.5.3-beta
and add some missing kernel modules.
Diffstat (limited to 'packages/opkg/files/opkg_unarchive.patch')
-rw-r--r-- | packages/opkg/files/opkg_unarchive.patch | 33 |
1 files changed, 18 insertions, 15 deletions
diff --git a/packages/opkg/files/opkg_unarchive.patch b/packages/opkg/files/opkg_unarchive.patch index a147cc87ee..98da039da4 100644 --- a/packages/opkg/files/opkg_unarchive.patch +++ b/packages/opkg/files/opkg_unarchive.patch @@ -1,21 +1,24 @@ ---- trunk/libbb/unarchive.c.orig 2006/01/25 00:08:53 13584 -+++ trunk/libbb/unarchive.c 2006/02/20 19:28:53 14150 -@@ -120,10 +108,14 @@ - linkname = NULL; - } else +--- trunk/libbb/unarchive.c (revision 160) ++++ trunk/libbb/unarchive.c (working copy) +@@ -600,12 +600,16 @@ + linkname = NULL; + } else #endif -- if (tar.formated.prefix[0] == 0) { -- file_header->name = strdup(tar.formated.name); -- } else { -- file_header->name = concat_path_file(tar.formated.prefix, tar.formated.name); +- if (tar.formated.prefix[0] == 0) { +- tar_entry->name = strdup(tar.formated.name); +- } else { +- tar_entry->name = concat_path_file(tar.formated.prefix, tar.formated.name); +- } + { -+ file_header->name = strndup(tar.formated.name,100); -+ ++ tar_entry->name = strndup(tar.formated.name,100); + + if (tar.formated.prefix[0]) { -+ char *temp = file_header->name; -+ file_header->name = concat_path_file(tar.formated.prefix, temp); ++ char *temp = tar_entry->name; ++ tar_entry->name = concat_path_file(tar.formated.prefix, temp); + free(temp); + } - } ++ } ++ + // tar_entry->name = xstrdup(tar.formated.name); - file_header->uid = strtol(tar.formated.uid, NULL, 8); + /* |