summaryrefslogtreecommitdiff
path: root/core/libarchive/sparse-file.patch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-01-17 23:14:55 +0000
committerroot <root@rshg054.dnsready.net>2012-01-17 23:14:55 +0000
commit7de0a9c21ecdb7becae761d7c9f2e723cb9ae0d3 (patch)
treecf569d409766ee004e997226104d64aa76bcd28f /core/libarchive/sparse-file.patch
parent08a16f35d70b750b4db213a4bfcbacf5b3be4d74 (diff)
Tue Jan 17 23:14:54 UTC 2012
Diffstat (limited to 'core/libarchive/sparse-file.patch')
-rw-r--r--core/libarchive/sparse-file.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/core/libarchive/sparse-file.patch b/core/libarchive/sparse-file.patch
new file mode 100644
index 000000000..e7d3e473b
--- /dev/null
+++ b/core/libarchive/sparse-file.patch
@@ -0,0 +1,13 @@
+Index: libarchive/archive_write_set_format_pax.c
+===================================================================
+--- libarchive/archive_write_set_format_pax.c (revision 4094)
++++ libarchive/archive_write_set_format_pax.c (working copy)
+@@ -1647,7 +1647,7 @@
+ return (total);
+
+ p = ((const unsigned char *)buff) + total;
+- ws = s;
++ ws = s - total;
+ if (ws > pax->sparse_list->remaining)
+ ws = pax->sparse_list->remaining;
+