tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
xmlsec: Fix build with libxml2 2.12
Jan Tojnar
2 years ago
e5e96b4c
e4e06adb
+7
-1
1 changed file
expand all
collapse all
unified
split
pkgs
development
libraries
xmlsec
default.nix
+7
-1
pkgs/development/libraries/xmlsec/default.nix
···
1
1
-
{ stdenv, fetchurl, libxml2, gnutls, libxslt, pkg-config, libgcrypt, libtool
1
1
+
{ stdenv, fetchurl, fetchpatch, libxml2, gnutls, libxslt, pkg-config, libgcrypt, libtool
2
2
, openssl, nss, lib, runCommandCC, writeText }:
3
3
4
4
lib.fix (self:
···
13
13
14
14
patches = [
15
15
./lt_dladdsearchdir.patch
16
16
+
17
17
+
# Fix build with libxml2 2.12
18
18
+
(fetchpatch {
19
19
+
url = "https://github.com/lsh123/xmlsec/commit/ffb327376f5bb69e8dfe7f805529e45a40118c2b.patch";
20
20
+
hash = "sha256-o8CLemOiGIHJsYfVQtNzJNVyk03fdmCbvgA8c3OYxo4=";
21
21
+
})
16
22
] ++ lib.optionals stdenv.isDarwin [ ./remove_bsd_base64_decode_flag.patch ];
17
23
postPatch = ''
18
24
substituteAllInPlace src/dl.c