Hello community,

here is the log from the commit of package bc for openSUSE:Factory checked in 
at 2019-03-27 16:11:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/bc (Old)
 and      /work/SRC/openSUSE:Factory/.bc.new.25356 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "bc"

Wed Mar 27 16:11:24 2019 rev:24 rq:685953 version:1.07.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/bc/bc.changes    2017-04-25 08:54:45.248224529 
+0200
+++ /work/SRC/openSUSE:Factory/.bc.new.25356/bc.changes 2019-03-27 
16:11:25.571667188 +0100
@@ -1,0 +2,7 @@
+Wed Mar 13 10:32:04 UTC 2019 - pgaj...@suse.com
+
+- added patches
+  Correct return value after 'q' [bsc#1129038]
+  + bc-dc-correct-return-value.patch
+
+-------------------------------------------------------------------

New:
----
  bc-dc-correct-return-value.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ bc.spec ++++++
--- /var/tmp/diff_new_pack.33TFCT/_old  2019-03-27 16:11:26.067667062 +0100
+++ /var/tmp/diff_new_pack.33TFCT/_new  2019-03-27 16:11:26.067667062 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package bc
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -20,13 +20,15 @@
 Version:        1.07.1
 Release:        0
 Summary:        GNU Command Line Calculator
-License:        GPL-2.0+
+License:        GPL-2.0-or-later
 Group:          Productivity/Scientific/Math
 Url:            https://www.gnu.org/software/bc/
 Source0:        https://ftp.gnu.org/gnu/bc/bc-%{version}.tar.gz
 Source1:        https://ftp.gnu.org/gnu/bc/bc-%{version}.tar.gz.sig
 Source2:        %{name}.keyring
 Patch1:         bc-1.06-dc_ibase.patch
+# Correct return value after 'q' [bsc#1129038]
+Patch2:         bc-dc-correct-return-value.patch
 BuildRequires:  bison
 BuildRequires:  ed
 BuildRequires:  flex
@@ -57,6 +59,7 @@
 %prep
 %setup -q
 %patch1
+%patch2 -p1
 
 %build
 %configure \


++++++ bc-dc-correct-return-value.patch ++++++
Index: bc-1.07.1/dc/eval.c
===================================================================
--- bc-1.07.1.orig/dc/eval.c    2017-04-07 17:22:07.000000000 +0200
+++ bc-1.07.1/dc/eval.c 2019-03-13 11:24:50.561897120 +0100
@@ -814,10 +814,10 @@ error_fail:
        fprintf(stderr, "%s: ", progname);
        perror("error reading input");
        return DC_FAIL;
-reset_and_exit_quit:
 reset_and_exit_fail:
        signal(SIGINT, sigint_default);
        return DC_FAIL;
+reset_and_exit_quit:
 reset_and_exit_success:
        signal(SIGINT, sigint_default);
        return DC_SUCCESS;


Reply via email to