diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2011-06-16 20:02:46 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-08 17:20:57 +0100 |
commit | e5fef6bc21c1046a8f08c27f8fcb27322d56008b (patch) | |
tree | 55ef509bdab736527436a369510f0938c1f82914 /meta/recipes-extended/libarchive/libarchive/0002-Patch-from-upstream-revision-1991.patch | |
parent | b626de02f78af6189a115d2f3eb94a24fbd5bc16 (diff) | |
download | poky-e5fef6bc21c1046a8f08c27f8fcb27322d56008b.tar.gz |
libarchive: add 2.8.4 version
This recipe has been imported from OpenEmbedded (rev
6db4b9050e0e8b963e2a6b63790e48e3042ea99e).
(From OE-Core rev: 292a45064aa9926868c798341dc72f183c5de076)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/libarchive/libarchive/0002-Patch-from-upstream-revision-1991.patch')
-rw-r--r-- | meta/recipes-extended/libarchive/libarchive/0002-Patch-from-upstream-revision-1991.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-extended/libarchive/libarchive/0002-Patch-from-upstream-revision-1991.patch b/meta/recipes-extended/libarchive/libarchive/0002-Patch-from-upstream-revision-1991.patch new file mode 100644 index 0000000000..6ece7f3899 --- /dev/null +++ b/meta/recipes-extended/libarchive/libarchive/0002-Patch-from-upstream-revision-1991.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | libarchive: Backport patch from upstream (revision 1991) | ||
2 | |||
3 | Upstream-Status: Backport | ||
4 | |||
5 | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> | ||
6 | |||
7 | diff --git a/libarchive/archive_write_disk.c b/libarchive/archive_write_disk.c | ||
8 | index caf958e..60699e0 100644 | ||
9 | --- a/libarchive/archive_write_disk.c | ||
10 | +++ b/libarchive/archive_write_disk.c | ||
11 | @@ -434,7 +434,7 @@ _archive_write_header(struct archive *_a, struct archive_entry *entry) | ||
12 | if (ret != ARCHIVE_OK) | ||
13 | goto done; | ||
14 | } | ||
15 | -#ifdef HAVE_FCHDIR | ||
16 | +#if defined(HAVE_FCHDIR) && defined(PATH_MAX) | ||
17 | /* If path exceeds PATH_MAX, shorten the path. */ | ||
18 | edit_deep_directories(a); | ||
19 | #endif | ||
20 | @@ -866,7 +866,7 @@ archive_write_disk_new(void) | ||
21 | * object creation is likely to fail, but any error will get handled | ||
22 | * at that time. | ||
23 | */ | ||
24 | -#ifdef HAVE_FCHDIR | ||
25 | +#if defined(HAVE_FCHDIR) && defined(PATH_MAX) | ||
26 | static void | ||
27 | edit_deep_directories(struct archive_write_disk *a) | ||
28 | { | ||
29 | -- | ||
30 | 1.7.1 | ||
31 | |||