gzip/xz_lzma.patch
Danilo Spinella 2cd2e398ab Accepting request 917691 from home:dspinella:branches:Base:System
- Update to 1.11:
  * Performance improvements
  * Added hardware acceleration for IBM Z
- Refresh patches:
  * manpage-no-date.patch
  * xz_lzma.patch
- Remove upstreamed patches:
  * gzip-1.10-fix-DFLTCC-segfault.patch
  * gzip-1.10-fix_count_of_lines_to_skIip.patch
  * gzip-1.10-ibm_dfltcc_support.patch

OBS-URL: https://build.opensuse.org/request/show/917691
OBS-URL: https://build.opensuse.org/package/show/Base:System/gzip?expand=0&rev=83
2021-09-10 14:22:11 +00:00

31 lines
790 B
Diff

Index: gzip-1.5/zgrep.1
===================================================================
--- gzip-1.5.orig/zgrep.1
+++ gzip-1.5/zgrep.1
@@ -10,7 +10,7 @@ zgrep \- search possibly compressed file
.B zgrep
command invokes
.B grep
-on compressed or gzipped files.
+on compressed, xz'ed, lzma'ed, bzip2'ed or gzipped files.
All options specified are passed directly to
.BR grep .
If no file is specified, then the standard input is decompressed
Index: gzip-1.5/zgrep.in
===================================================================
--- gzip-1.5.orig/zgrep.in
+++ gzip-1.5/zgrep.in
@@ -178,6 +178,12 @@ do
*.bz2)
uncompress=bzip2
;;
+ *.xz)
+ uncompress=xz
+ ;;
+ *.lzma)
+ uncompress=lzma
+ ;;
*)
uncompress=gzip
;;