Hello community, here is the log from the commit of package xml-security-c for openSUSE:Factory checked in at 2016-07-12 23:52:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xml-security-c (Old) and /work/SRC/openSUSE:Factory/.xml-security-c.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xml-security-c" Changes: -------- --- /work/SRC/openSUSE:Factory/xml-security-c/xml-security-c.changes 2015-08-29 20:04:26.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.xml-security-c.new/xml-security-c.changes 2016-07-12 23:52:07.000000000 +0200 @@ -1,0 +2,7 @@ +Sun Jul 3 06:54:30 UTC 2016 - i...@marguerite.su + +- add patch xml-security-c-1.7.3-gcc6.patch, fixed boo#985160 + * bool can't be converted to pointer in c++11 which is + default in gcc6, change to NULL. + +------------------------------------------------------------------- New: ---- xml-security-c-1.7.3-gcc6.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xml-security-c.spec ++++++ --- /var/tmp/diff_new_pack.8DJ1Ze/_old 2016-07-12 23:52:08.000000000 +0200 +++ /var/tmp/diff_new_pack.8DJ1Ze/_new 2016-07-12 23:52:08.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package xml-security-c # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,9 +26,11 @@ Source0: http://www.apache.org/dist/santuario/c-library/%{name}-%{version}.tar.bz2 Source1: http://www.apache.org/dist/santuario/c-library/%{name}-%{version}.tar.bz2.asc Source2: %{name}.keyring +# PATCH-FIX-UPSTREAM marguer...@opensuse.org - 'bool' can't be converted to pointer in c++11 +Patch: xml-security-c-1.7.3-gcc6.patch BuildRequires: gcc-c++ -BuildRequires: libxerces-c-devel >= 3.1 BuildRequires: libxalan-c-devel +BuildRequires: libxerces-c-devel >= 3.1 BuildRequires: openssl-devel BuildRequires: pkg-config BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -84,6 +86,7 @@ %prep %setup -q +%patch -p1 %build %configure \ @@ -91,10 +94,9 @@ make %{?_smp_mflags} %install -make DESTDIR=%{buildroot} install %{?_smp_mflags} +make %{?_smp_mflags} DESTDIR=%{buildroot} install %post -n libxml-security-c17 -p /sbin/ldconfig - %postun -n libxml-security-c17 -p /sbin/ldconfig %files -n xml-security-c-bin @@ -103,6 +105,7 @@ %{_bindir}/* %files -n libxml-security-c17 +%defattr(-,root,root) %doc CHANGELOG.txt LICENSE.txt %defattr(-,root,root,-) %{_libdir}/*.so.* ++++++ xml-security-c-1.7.3-gcc6.patch ++++++ Index: b/xsec/tools/checksig/InteropResolver.cpp =================================================================== --- a/xsec/tools/checksig/InteropResolver.cpp +++ b/xsec/tools/checksig/InteropResolver.cpp @@ -645,7 +645,7 @@ XSECCryptoKey * InteropResolver::resolve } - return false; + return NULL; }