aboutsummaryrefslogtreecommitdiffstats
path: root/main/xdelta3/xdelta3-xz.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-08-20 20:17:24 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-08-20 20:18:10 +0000
commita93e7f4a43e7814cf3274e307c759b2989308457 (patch)
treefeca09447fab3e62a8d7ac4576c4a6b88812137d /main/xdelta3/xdelta3-xz.patch
parent7eeea56234790a09ba6678eb1fcafd43a3660c3a (diff)
downloadaports-a93e7f4a43e7814cf3274e307c759b2989308457.tar.gz
aports-a93e7f4a43e7814cf3274e307c759b2989308457.tar.bz2
aports-a93e7f4a43e7814cf3274e307c759b2989308457.tar.xz
main/xdelta3: new aport
A diff utility which works with binary files http://xdelta.org/
Diffstat (limited to 'main/xdelta3/xdelta3-xz.patch')
-rw-r--r--main/xdelta3/xdelta3-xz.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/main/xdelta3/xdelta3-xz.patch b/main/xdelta3/xdelta3-xz.patch
new file mode 100644
index 0000000000..3527406c16
--- /dev/null
+++ b/main/xdelta3/xdelta3-xz.patch
@@ -0,0 +1,12 @@
+diff -ruNa a/xdelta3-main.h b/xdelta3-main.h
+--- a/xdelta3-main.h 2009-01-30 05:59:02.000000000 +0100
++++ b/xdelta3-main.h 2009-05-13 12:43:00.000000000 +0200
+@@ -355,6 +355,7 @@
+ RD_NONEXTERNAL },
+ { "bzip2", "-cf", "bzip2", "-dcf", "B", "BZh", 3, 0 },
+ { "gzip", "-cf", "gzip", "-dcf", "G", "\037\213", 2, 0 },
++ { "xz", "-cf", "xz", "-dcf", "Y", "\xfd\x37\x7a\x58\x5a\x00", 2, 0 },
+ { "compress", "-cf", "uncompress", "-cf", "Z", "\037\235", 2, 0 },
+
+ /* TODO: add commandline support for magic-less formats */
+