xml-security-c: 1.7.3 -> 2.0.2

This commit is contained in:
Robin Gloster 2019-07-30 00:03:24 +02:00
parent bdfc0887de
commit 9ff94fb740
No known key found for this signature in database
GPG Key ID: D5C458DF6DD97EDF
2 changed files with 2 additions and 20 deletions

View File

@ -1,11 +0,0 @@
--- xml-security-c-1.6.1/xsec/tools/checksig/InteropResolver.cpp.orig 2016-02-02 23:57:26.204655144 +0000
+++ xml-security-c-1.6.1/xsec/tools/checksig/InteropResolver.cpp 2016-02-02 23:57:35.796692305 +0000
@@ -645,7 +645,7 @@
}
- return false;
+ return NULL;
}

View File

@ -2,20 +2,13 @@
stdenv.mkDerivation rec {
name = "xml-security-c-${version}";
version = "1.7.3";
version = "2.0.2";
src = fetchurl {
url = "https://www.apache.org/dist/santuario/c-library/${name}.tar.gz";
sha256 = "e5226e7319d44f6fd9147a13fb853f5c711b9e75bf60ec273a0ef8a190592583";
sha256 = "1prh5sxzipkqglpsh53iblbr7rxi54wbijxdjiahzjmrijqa40y3";
};
patches = [ ./cxx11.patch ];
postPatch = ''
mkdir -p xsec/yes/lib
sed -i -e 's/-O2 -DNDEBUG/-DNDEBUG/g' configure
'';
configureFlags = [
"--with-openssl"
"--with-xerces"