mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 16:11:58 +00:00
xml-security-c: 1.7.3 -> 2.0.2
This commit is contained in:
parent
bdfc0887de
commit
9ff94fb740
|
@ -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;
|
||||
|
||||
}
|
||||
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue