libspf2: fix build w/glibc-2.34

Failing Hydra build: https://hydra.nixos.org/build/156229214
main
Maximilian Bosch 3 years ago
parent 89caa8e552
commit fe58c181d3
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E
  1. 10
      pkgs/development/libraries/libspf2/default.nix

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
{ lib, stdenv, fetchFromGitHub, autoreconfHook, fetchpatch }:
with lib;
@ -13,6 +13,14 @@ stdenv.mkDerivation rec {
sha256 = "03iiaafdcwh220pqignk407h6klrakwz0zkb8iwk6nkwipkwvhsx";
};
patches = [
# glibc-2.34 compat
(fetchpatch {
url = "https://raw.githubusercontent.com/gentoo/gentoo/dbb8a5c9f749cc11e61cfe558f164b165cbc30cb/mail-filter/libspf2/files/libspf2-1.2.11-undefined-dn_.patch";
sha256 = "sha256-6JVVkVGCcFJsNeBdVTPcLhW4KoHLY4ai/KXDMliXgPA=";
})
];
postPatch = ''
# disable static bins compilation
sed -i \

Loading…
Cancel
Save