Accepting request 685953 from Base:System
- added patches Correct return value after 'q' [bsc#1129038] + bc-dc-correct-return-value.patch OBS-URL: https://build.opensuse.org/request/show/685953 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bc?expand=0&rev=24
This commit is contained in:
commit
8cf0c3bfa8
16
bc-dc-correct-return-value.patch
Normal file
16
bc-dc-correct-return-value.patch
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
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;
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 13 10:32:04 UTC 2019 - pgajdos@suse.com
|
||||||
|
|
||||||
|
- added patches
|
||||||
|
Correct return value after 'q' [bsc#1129038]
|
||||||
|
+ bc-dc-correct-return-value.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Apr 10 07:39:45 UTC 2017 - mpluskal@suse.com
|
Mon Apr 10 07:39:45 UTC 2017 - mpluskal@suse.com
|
||||||
|
|
||||||
|
9
bc.spec
9
bc.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package bc
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# 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 @@ Name: bc
|
|||||||
Version: 1.07.1
|
Version: 1.07.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: GNU Command Line Calculator
|
Summary: GNU Command Line Calculator
|
||||||
License: GPL-2.0+
|
License: GPL-2.0-or-later
|
||||||
Group: Productivity/Scientific/Math
|
Group: Productivity/Scientific/Math
|
||||||
Url: https://www.gnu.org/software/bc/
|
Url: https://www.gnu.org/software/bc/
|
||||||
Source0: https://ftp.gnu.org/gnu/bc/bc-%{version}.tar.gz
|
Source0: https://ftp.gnu.org/gnu/bc/bc-%{version}.tar.gz
|
||||||
Source1: https://ftp.gnu.org/gnu/bc/bc-%{version}.tar.gz.sig
|
Source1: https://ftp.gnu.org/gnu/bc/bc-%{version}.tar.gz.sig
|
||||||
Source2: %{name}.keyring
|
Source2: %{name}.keyring
|
||||||
Patch1: bc-1.06-dc_ibase.patch
|
Patch1: bc-1.06-dc_ibase.patch
|
||||||
|
# Correct return value after 'q' [bsc#1129038]
|
||||||
|
Patch2: bc-dc-correct-return-value.patch
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
BuildRequires: ed
|
BuildRequires: ed
|
||||||
BuildRequires: flex
|
BuildRequires: flex
|
||||||
@ -57,6 +59,7 @@ and "pushes" its results back onto the stack.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch1
|
%patch1
|
||||||
|
%patch2 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
|
Loading…
Reference in New Issue
Block a user