summaryrefslogtreecommitdiff
path: root/system/libarchive/seek-error.patch
blob: e14b281b12fa950ca511d9bd6dd35ee619a8183e (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(__MAKE_ADELIE_WORK_AGAIN__)
 
 /*
  * SEEK_HOLE sparse interface (FreeBSD, Linux, Solaris)