summaryrefslogtreecommitdiff
path: root/app-text/pinfo/files/pinfo-0.6.9-lzma-xz.patch
blob: 6ae0766fb803d5b50816654938fdd0799733798c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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"}
 };
 
 /*****************************************************************************/