diff options
| author | Richard Purdie <rpurdie@linux.intel.com> | 2009-10-05 21:11:16 +0100 |
|---|---|---|
| committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-10-05 21:11:16 +0100 |
| commit | 3aa68f12829260afb00b9e816bece02ae263e33e (patch) | |
| tree | 04545c631b1b65f4f95f1991b579ae162ceb0466 /meta/packages/opkg/files/opkg_unarchive.patch | |
| parent | 67a79c7443d8265106f3d9e383684317c1863ecf (diff) | |
| download | poky-3aa68f12829260afb00b9e816bece02ae263e33e.tar.gz | |
opkg: Switch to google svn and patch to export a version comparision function (patches taken from OE.dev)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/opkg/files/opkg_unarchive.patch')
| -rw-r--r-- | meta/packages/opkg/files/opkg_unarchive.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/packages/opkg/files/opkg_unarchive.patch b/meta/packages/opkg/files/opkg_unarchive.patch new file mode 100644 index 0000000000..9e5ccfb714 --- /dev/null +++ b/meta/packages/opkg/files/opkg_unarchive.patch | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | --- trunk/libbb/unarchive.c.orig 2009-02-11 22:14:58.000000000 +0100 | ||
| 2 | +++ trunk/libbb/unarchive.c 2009-02-11 22:15:07.000000000 +0100 | ||
| 3 | @@ -606,6 +606,10 @@ | ||
| 4 | tar_entry->name = concat_path_file(tar.formated.prefix, tar.formated.name); | ||
| 5 | } | ||
| 6 | |||
| 7 | + if (strlen(tar_entry->name) > 100) { | ||
| 8 | + tar_entry->name[100] = 0; | ||
| 9 | + } | ||
| 10 | + | ||
| 11 | // tar_entry->name = xstrdup(tar.formated.name); | ||
| 12 | |||
| 13 | /* | ||
