From be9c68ee8302fc558ecc23eb9d9c60da04485ab050b8286000226f3609ced7a4 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 9 Apr 2020 12:43:32 +0000 Subject: [PATCH] Accepting request 790123 from home:marxin:branches:network:utilities - Add -fcommon in order to fix boo#1160404. OBS-URL: https://build.opensuse.org/request/show/790123 OBS-URL: https://build.opensuse.org/package/show/network:utilities/net-snmp?expand=0&rev=23 --- net-snmp.changes | 5 +++++ net-snmp.spec | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/net-snmp.changes b/net-snmp.changes index 29c4a31..d4b3c94 100644 --- a/net-snmp.changes +++ b/net-snmp.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Mar 31 11:56:24 UTC 2020 - Martin Liška + +- Add -fcommon in order to fix boo#1160404. + ------------------------------------------------------------------- Thu Jul 4 08:06:47 UTC 2019 - abergmann@suse.com diff --git a/net-snmp.spec b/net-snmp.spec index 6305dbd..14efb2b 100644 --- a/net-snmp.spec +++ b/net-snmp.spec @@ -1,7 +1,7 @@ # # spec file for package net-snmp # -# Copyright (c) 2019 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/ # @@ -35,7 +35,7 @@ Release: 0 Summary: SNMP Daemon License: BSD-3-Clause AND MIT Group: Productivity/Networking/Other -Url: http://sourceforge.net/projects/net-snmp +URL: http://sourceforge.net/projects/net-snmp Source: http://sourceforge.net/projects/net-snmp/files/net-snmp/%{version}/%{name}-%{version}.tar.gz Source1: snmpd.service Source2: snmpd.conf @@ -222,7 +222,7 @@ autoreconf -fvi --with-sys-contact="root@localhost" \ --with-sys-location="unknown" \ --with-mib-modules="$MIBS" \ - --with-cflags="%{optflags}" \ + --with-cflags="%{optflags} -fcommon" \ --with-ldflags="-Wl,-z,relro -Wl,-z,now" \ --with-persistent-directory="%{_localstatedir}/lib/net-snmp" \ --with-agentx-socket="%{netsnmp_agentx_socket_dir_fhs}/master" \