From a0e159504a9054d178eb0a082e824550793ef2baa35c484dc7582f23d6919c76 Mon Sep 17 00:00:00 2001 From: Danilo Spinella Date: Thu, 8 Sep 2022 08:30:06 +0000 Subject: [PATCH] Accepting request 1001872 from home:iznogood:factory - Add export CFLAGS/CXXFLAGS="-Wno-error=deprecated-declarations" inbefore configure. We pass --enable-werror to configure, and that leads to warnings about deprecations failing build. As deprecations is mainly a consern for upstream, stop failing on those. OBS-URL: https://build.opensuse.org/request/show/1001872 OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/xmlsec1?expand=0&rev=42 --- xmlsec1.changes | 9 +++++++++ xmlsec1.spec | 3 +++ 2 files changed, 12 insertions(+) diff --git a/xmlsec1.changes b/xmlsec1.changes index 09989ca..3dbdce7 100644 --- a/xmlsec1.changes +++ b/xmlsec1.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Thu Sep 8 07:25:33 UTC 2022 - Bjørn Lie + +- Add export CFLAGS/CXXFLAGS="-Wno-error=deprecated-declarations" + inbefore configure. We pass --enable-werror to configure, and + that leads to warnings about deprecations failing build. As + deprecations is mainly a consern for upstream, stop failing on + those. + ------------------------------------------------------------------- Mon May 23 09:49:35 UTC 2022 - Dirk Müller diff --git a/xmlsec1.spec b/xmlsec1.spec index 6656de1..68ba576 100644 --- a/xmlsec1.spec +++ b/xmlsec1.spec @@ -143,6 +143,9 @@ Libraries, includes, etc. for developing XML Security applications with NSS. %autosetup -p1 %build +# Allow for deprecations +export CFLAGS="-Wno-error=deprecated-declarations" +export CXXFLAGS="-Wno-error=deprecated-declarations" %configure \ --disable-static \ --disable-silent-rules \