summaryrefslogtreecommitdiff
path: root/system/libarchive/penis.patch
blob: c3745979e8a3a496baf253d4d7ce6962384be944 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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)