From ac70c346b54895d4219e04358e200aaa11ac330cfe9bebb6d221d8f91656624d Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Mon, 30 Mar 2020 17:42:24 +0000 Subject: [PATCH] Accepting request 789576 from home:kstreitova:branches:Archiving - starting with GCC 10, the default of '-fcommon' option will change to '-fno-common'. Because dump build fails with 'fno-common', add '-fcommon' option to optflags as a temporary workaround for this problem till it's properly fixed [bsc#1160263] OBS-URL: https://build.opensuse.org/request/show/789576 OBS-URL: https://build.opensuse.org/package/show/Archiving/dump?expand=0&rev=24 --- dump.changes | 8 ++++++++ dump.spec | 7 ++++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/dump.changes b/dump.changes index e357040..d64fc66 100644 --- a/dump.changes +++ b/dump.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Sun Mar 29 21:05:53 UTC 2020 - Kristyna Streitova + +- starting with GCC 10, the default of '-fcommon' option will + change to '-fno-common'. Because dump build fails with + 'fno-common', add '-fcommon' option to optflags as a temporary + workaround for this problem till it's properly fixed [bsc#1160263] + ------------------------------------------------------------------- Thu Jun 15 12:33:17 UTC 2017 - tchvatal@suse.com diff --git a/dump.spec b/dump.spec index e647b89..5a44d5f 100644 --- a/dump.spec +++ b/dump.spec @@ -1,7 +1,7 @@ # # spec file for package dump # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # 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/ # @@ -22,7 +22,7 @@ Release: 0 Summary: Programs for backing up and restoring ext2/3/4 filesystems License: BSD-3-Clause Group: Productivity/Archiving/Backup -Url: http://dump.sourceforge.net +URL: http://dump.sourceforge.net Source0: http://sourceforge.net/projects/%{name}/files/%{name}/%{version}/%{name}-%{version}.tar.gz Source1: ermt.1.in # PATCH-FIX-SUSE dump-0.4b46-pathnames.patch svalx@svalx.net -- pathnames and @@ -83,6 +83,7 @@ cp %{SOURCE1} rmt/ %build autoreconf -fiv +export CFLAGS="%{optflags} -fcommon" %configure \ --disable-silent-rules \ --enable-sqlite \