]> git.pld-linux.org Git - packages/xml-security-c.git/commitdiff
- added c++ patch (fixes build in C++11 mode) auto/th/xml-security-c-1.7.3-1
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 24 Nov 2017 17:44:35 +0000 (18:44 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Fri, 24 Nov 2017 17:44:35 +0000 (18:44 +0100)
xml-security-c-c++.patch [new file with mode: 0644]
xml-security-c.spec

diff --git a/xml-security-c-c++.patch b/xml-security-c-c++.patch
new file mode 100644 (file)
index 0000000..902d8d7
--- /dev/null
@@ -0,0 +1,11 @@
+--- xml-security-c-1.7.3/xsec/tools/checksig/InteropResolver.cpp.orig  2012-07-23 18:56:10.000000000 +0200
++++ xml-security-c-1.7.3/xsec/tools/checksig/InteropResolver.cpp       2017-11-24 18:36:22.001046355 +0100
+@@ -645,7 +645,7 @@
+       }
+-      return false;
++      return NULL;
+ }
index 0916a63afe5539d8550ecb19ee7f796d7a7fe9f8..408283c2c56a82797d32a0107c96b5841d82c908 100644 (file)
@@ -15,6 +15,7 @@ License:      Apache v2.0
 Group:         Libraries
 Source0:       http://www.apache.org/dist/santuario/c-library/%{name}-%{version}.tar.bz2
 # Source0-md5: 61130e3273bed410e607d9710eef9de2
+Patch0:                %{name}-c++.patch
 URL:           http://santuario.apache.org/cindex.html
 BuildRequires: autoconf >= 2.50
 BuildRequires: automake
@@ -77,11 +78,13 @@ Statyczna biblioteka xml-security-c.
 
 %prep
 %setup -q
+%patch0 -p1
 
 # Remove bogus "-O2" from CXXFLAGS to avoid overriding optflags.
 %{__sed} -i -e 's/-O2 -DNDEBUG/-DNDEBUG/g' configure.ac
 
 %build
+# refresh lt for as-needed to work
 %{__libtoolize}
 %{__aclocal} -I m4
 %{__autoconf}
This page took 0.076643 seconds and 4 git commands to generate.