diff --git a/gzip-1.10-fix_count_of_lines_to_skip.patch b/gzip-1.10-fix_count_of_lines_to_skip.patch new file mode 100644 index 0000000..b9bf431 --- /dev/null +++ b/gzip-1.10-fix_count_of_lines_to_skip.patch @@ -0,0 +1,26 @@ +From 38ae6a4ed36a7c86609a6a595add4298d9c202bc Mon Sep 17 00:00:00 2001 +From: Paul Eggert +Date: Tue, 26 Mar 2019 19:44:43 -0700 +Subject: gzexe: fix count of lines to skip + +Problem reported by Jakub Martisko (Bug#35002). +* gzexe.in (skip): Bump from 44 to 49. +--- + gzexe.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/gzexe.in b/gzexe.in +index 8fca8c8..832cd07 100644 +--- a/gzexe.in ++++ b/gzexe.in +@@ -145,7 +145,7 @@ for i do + if test $decomp -eq 0; then + (cat <<'EOF' && + #!/bin/sh +-skip=44 ++skip=49 + + tab=' ' + nl=' +-- +cgit v1.2.1 diff --git a/gzip.changes b/gzip.changes index b8b4a1c..bd7265c 100644 --- a/gzip.changes +++ b/gzip.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jan 27 22:05:47 UTC 2021 - Kristyna Streitova + +- add gzip-1.10-fix_count_of_lines_to_skip.patch to fix count + of lines to skip [bsc#1180713] + ------------------------------------------------------------------- Fri Oct 16 09:48:53 UTC 2020 - Ludwig Nussel diff --git a/gzip.spec b/gzip.spec index 6d9ab67..e991c6f 100644 --- a/gzip.spec +++ b/gzip.spec @@ -1,7 +1,7 @@ # # spec file for package gzip # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -35,6 +35,7 @@ Patch6: zdiff.diff Patch7: xz_lzma.patch Patch8: manpage-no-date.patch Patch9: gzip-1.10-ibm_dfltcc_support.patch +Patch10: gzip-1.10-fix_count_of_lines_to_skip.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: makeinfo @@ -58,6 +59,7 @@ times. %patch8 -p1 %ifarch s390x %patch9 -p1 +%patch10 -p1 %endif %build