summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/pinfo/files/pinfo-0.6.9-lzma-xz.patch')
-rw-r--r--app-text/pinfo/files/pinfo-0.6.9-lzma-xz.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/app-text/pinfo/files/pinfo-0.6.9-lzma-xz.patch b/app-text/pinfo/files/pinfo-0.6.9-lzma-xz.patch
new file mode 100644
index 000000000000..6ae0766fb803
--- /dev/null
+++ b/app-text/pinfo/files/pinfo-0.6.9-lzma-xz.patch
@@ -0,0 +1,21 @@
+--- a/src/filehandling_functions.c
++++ b/src/filehandling_functions.c
+@@ -41,14 +41,16 @@
+ * you dump the file through `gunzip -d -c', etc. *
+ ******************************************************************************/
+
+-#define SuffixesNumber 4
++#define SuffixesNumber 6
+
+ Suffixes suffixes[SuffixesNumber] =
+ {
+ {"", "cat"},
+ {".gz", "gzip -d -q -c"},
+ {".Z", "gzip -d -q -c"},
+- {".bz2", "bzip2 -d -c"}
++ {".bz2", "bzip2 -d -c"},
++ {".lzma", "lzma -d -c"},
++ {".xz", "xz -d -c"}
+ };
+
+ /*****************************************************************************/