Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

xmlsec: Fix build with libxml2 2.12

+7 -1
+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 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