summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/libarchive/libarchive/0002-Patch-from-upstream-revision-1991.patch
diff options
context:
space:
mode:
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.patch31
1 files changed, 0 insertions, 31 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
deleted file mode 100644
index 6ece7f3899..0000000000
--- a/meta/recipes-extended/libarchive/libarchive/0002-Patch-from-upstream-revision-1991.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-libarchive: Backport patch from upstream (revision 1991)
-
-Upstream-Status: Backport
-
-Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
-
-diff --git a/libarchive/archive_write_disk.c b/libarchive/archive_write_disk.c
-index caf958e..60699e0 100644
---- a/libarchive/archive_write_disk.c
-+++ b/libarchive/archive_write_disk.c
-@@ -434,7 +434,7 @@ _archive_write_header(struct archive *_a, struct archive_entry *entry)
- if (ret != ARCHIVE_OK)
- goto done;
- }
--#ifdef HAVE_FCHDIR
-+#if defined(HAVE_FCHDIR) && defined(PATH_MAX)
- /* If path exceeds PATH_MAX, shorten the path. */
- edit_deep_directories(a);
- #endif
-@@ -866,7 +866,7 @@ archive_write_disk_new(void)
- * object creation is likely to fail, but any error will get handled
- * at that time.
- */
--#ifdef HAVE_FCHDIR
-+#if defined(HAVE_FCHDIR) && defined(PATH_MAX)
- static void
- edit_deep_directories(struct archive_write_disk *a)
- {
---
-1.7.1
-