diff options
Diffstat (limited to 'meta/recipes-extended/libarchive/libarchive/0006-Patch-from-upstream-rev-2521.patch')
-rw-r--r-- | meta/recipes-extended/libarchive/libarchive/0006-Patch-from-upstream-rev-2521.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-extended/libarchive/libarchive/0006-Patch-from-upstream-rev-2521.patch b/meta/recipes-extended/libarchive/libarchive/0006-Patch-from-upstream-rev-2521.patch new file mode 100644 index 0000000000..b55ae1701a --- /dev/null +++ b/meta/recipes-extended/libarchive/libarchive/0006-Patch-from-upstream-rev-2521.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | libarchive: Backport patch from upstream (rev 2521). | ||
2 | |||
3 | Disable dot stripping code since it's still broken | ||
4 | and noone has been able to figure it out (yet). | ||
5 | |||
6 | Upstream-Status: Backport | ||
7 | |||
8 | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> | ||
9 | |||
10 | diff --git a/libarchive/archive_read_support_format_iso9660.c b/libarchive/archive_read_support_format_iso9660.c | ||
11 | index 2d3a855..8661532 100644 | ||
12 | --- a/libarchive/archive_read_support_format_iso9660.c | ||
13 | +++ b/libarchive/archive_read_support_format_iso9660.c | ||
14 | @@ -1771,9 +1771,11 @@ parse_file_info(struct archive_read *a, struct file_info *parent, | ||
15 | *wp = L'\0'; | ||
16 | } | ||
17 | |||
18 | +#if 0 /* XXX: this somehow manages to strip of single-character file extensions, like '.c'. */ | ||
19 | /* Chop off trailing '.' from filenames. */ | ||
20 | if (*(wp-1) == L'.') | ||
21 | *(--wp) = L'\0'; | ||
22 | +#endif | ||
23 | |||
24 | /* store the result in the file name field. */ | ||
25 | archive_strappend_w_utf8(&file->name, wbuff); | ||
26 | -- | ||
27 | 1.7.1 | ||
28 | |||