diff --git a/lrzsz-0.12.20-fix-lsz-getopt.patch b/lrzsz-0.12.20-fix-lsz-getopt.patch new file mode 100644 index 0000000..0a23c97 --- /dev/null +++ b/lrzsz-0.12.20-fix-lsz-getopt.patch @@ -0,0 +1,11 @@ +--- lrzsz-0.12.20.orig/src/lsz.c ++++ lrzsz-0.12.20/src/lsz.c +@@ -349,7 +349,7 @@ main(int argc, char **argv) + Rxtimeout = 600; + + while ((c = getopt_long (argc, argv, +- "2+48abB:C:c:dfeEghHi:kL:l:m:M:NnOopRrqsSt:TUuvw:XYy", ++ "2+48abB:C:c:dfeEghHi:kL:l:m:M:NnOopRrqs:St:TUuvw:XYy", + long_options, (int *) 0))!=EOF) + { + unsigned long int tmp; diff --git a/rzsz.changes b/rzsz.changes index 4cc8a71..11b5244 100644 --- a/rzsz.changes +++ b/rzsz.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Jan 21 13:35:25 UTC 2018 - benoit.monin@gmx.fr + +- add lrzsz-0.12.20-fix-lsz-getopt.patch: fix for boo#1076576 + ------------------------------------------------------------------- Thu Jan 18 12:42:46 UTC 2018 - tchvatal@suse.com diff --git a/rzsz.spec b/rzsz.spec index 076ecbb..40b75b4 100644 --- a/rzsz.spec +++ b/rzsz.spec @@ -31,6 +31,8 @@ Patch5: lrzsz-implicit-decl.patch Patch6: lrzsz-0.12.20-automake-1.12.patch Patch7: lrzsz-0.12.20-automake-1.13.patch Patch8: lrzsz-0.12.20-null-pointer.patch +# PATCH-FIX-UPSTREAM fix getopt optstring boo#1076576 +Patch9: lrzsz-0.12.20-fix-lsz-getopt.patch BuildRequires: autoconf BuildRequires: automake Provides: lrzsz @@ -48,6 +50,7 @@ system. %patch6 -p1 %patch7 -p1 %patch8 -p1 +%patch9 -p1 # Missing file >> config.rpath