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
-
{ stdenv, fetchurl, libxml2, gnutls, libxslt, pkg-config, libgcrypt, libtool
2
, openssl, nss, lib, runCommandCC, writeText }:
3
4
lib.fix (self:
···
13
14
patches = [
15
./lt_dladdsearchdir.patch
0
0
0
0
0
0
16
] ++ lib.optionals stdenv.isDarwin [ ./remove_bsd_base64_decode_flag.patch ];
17
postPatch = ''
18
substituteAllInPlace src/dl.c
···
1
+
{ stdenv, fetchurl, fetchpatch, libxml2, gnutls, libxslt, pkg-config, libgcrypt, libtool
2
, openssl, nss, lib, runCommandCC, writeText }:
3
4
lib.fix (self:
···
13
14
patches = [
15
./lt_dladdsearchdir.patch
16
+
17
+
# Fix build with libxml2 2.12
18
+
(fetchpatch {
19
+
url = "https://github.com/lsh123/xmlsec/commit/ffb327376f5bb69e8dfe7f805529e45a40118c2b.patch";
20
+
hash = "sha256-o8CLemOiGIHJsYfVQtNzJNVyk03fdmCbvgA8c3OYxo4=";
21
+
})
22
] ++ lib.optionals stdenv.isDarwin [ ./remove_bsd_base64_decode_flag.patch ];
23
postPatch = ''
24
substituteAllInPlace src/dl.c