From dfa9fb8ae422c0847563a49db7475b66b394db65e037f9840fc46616974f406d Mon Sep 17 00:00:00 2001 From: Lars Vogdt Date: Thu, 11 Jun 2020 10:04:54 +0000 Subject: [PATCH] Accepting request 812351 from home:mnhauke:security - Set CFLAGS+=-fcommon OBS-URL: https://build.opensuse.org/request/show/812351 OBS-URL: https://build.opensuse.org/package/show/server:monitoring/pmacct?expand=0&rev=99 --- pmacct.changes | 5 +++++ pmacct.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/pmacct.changes b/pmacct.changes index 82d25d6..497c346 100644 --- a/pmacct.changes +++ b/pmacct.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Jun 7 20:37:36 UTC 2020 - Martin Hauke + +- Set CFLAGS+=-fcommon + ------------------------------------------------------------------- Mon Mar 30 07:47:03 UTC 2020 - Marcus Meissner diff --git a/pmacct.spec b/pmacct.spec index 505d3c9..653d494 100644 --- a/pmacct.spec +++ b/pmacct.spec @@ -41,7 +41,7 @@ Source10: nfacctd.conf Source11: pmacctd.conf Source12: sfacctd.conf Source20: pmacct.1 -Patch0: pmacct-fix-overflow.patch +Patch0: pmacct-fix-overflow.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: libmysqlclient-devel @@ -81,7 +81,7 @@ chmod -x sql/pmacct-* %build autoreconf -fiv -export CFLAGS="%{optflags} -Wno-return-type" +export CFLAGS="%{optflags} -Wno-return-type -fcommon" %configure \ --sysconfdir=%{_sysconfdir}/%{name} \ --docdir="%{_docdir}/%{name}" \