From e9ab340bae953fbee9bfc8453796c01167131d0a011e6d4dad0e213f28d5aed6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Monin?= Date: Sun, 21 Jan 2018 13:51:18 +0000 Subject: [PATCH] Accepting request 567975 from home:benoit_monin:branches:Base:System add lrzsz-0.12.20-fix-lsz-getopt.patch: fix for boo#1076576 OBS-URL: https://build.opensuse.org/request/show/567975 OBS-URL: https://build.opensuse.org/package/show/Base:System/rzsz?expand=0&rev=22 --- lrzsz-0.12.20-fix-lsz-getopt.patch | 11 +++++++++++ rzsz.changes | 5 +++++ rzsz.spec | 3 +++ 3 files changed, 19 insertions(+) create mode 100644 lrzsz-0.12.20-fix-lsz-getopt.patch 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