summaryrefslogtreecommitdiff
path: root/system/libarchive/seek-error.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/libarchive/seek-error.patch')
-rw-r--r--system/libarchive/seek-error.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/libarchive/seek-error.patch b/system/libarchive/seek-error.patch
new file mode 100644
index 000000000..e14b281b1
--- /dev/null
+++ b/system/libarchive/seek-error.patch
@@ -0,0 +1,11 @@
+--- libarchive-3.3.1/libarchive/archive_read_disk_entry_from_file.c.old 2017-02-25 17:37:08.000000000 +0000
++++ libarchive-3.3.1/libarchive/archive_read_disk_entry_from_file.c 2017-07-04 01:31:03.297134418 +0000
+@@ -1865,7 +1865,7 @@
+ #endif
+ #endif /* defined(HAVE_LINUX_FIEMAP_H) */
+
+-#if defined(SEEK_HOLE) && defined(SEEK_DATA)
++#if defined(SEEK_HOLE) && defined(SEEK_DATA) && defined(__MAKE_ADELIE_WORK_AGAIN__)
+
+ /*
+ * SEEK_HOLE sparse interface (FreeBSD, Linux, Solaris)