summaryrefslogtreecommitdiff
path: root/system/libarchive/penis.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-03-01 14:30:19 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-03-01 14:30:19 -0600
commit85c3ec8d2336ffa2dcaa24e2ca939d1453d6efd6 (patch)
treef6c8971f66d59953cf6e19420dd0db1ca749e9f7 /system/libarchive/penis.patch
parent35064038bbcb66bb98f0f6714abd90a6734c414f (diff)
downloadpackages-85c3ec8d2336ffa2dcaa24e2ca939d1453d6efd6.tar.gz
packages-85c3ec8d2336ffa2dcaa24e2ca939d1453d6efd6.tar.bz2
packages-85c3ec8d2336ffa2dcaa24e2ca939d1453d6efd6.tar.xz
packages-85c3ec8d2336ffa2dcaa24e2ca939d1453d6efd6.zip
system/libarchive: bring patched version in
Diffstat (limited to 'system/libarchive/penis.patch')
-rw-r--r--system/libarchive/penis.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/libarchive/penis.patch b/system/libarchive/penis.patch
new file mode 100644
index 000000000..c3745979e
--- /dev/null
+++ b/system/libarchive/penis.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(__PENIS__)
+
+ /*
+ * SEEK_HOLE sparse interface (FreeBSD, Linux, Solaris)