mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-13 18:47:35 +00:00
libspf2: fix build w/glibc-2.34
Failing Hydra build: https://hydra.nixos.org/build/156229214
This commit is contained in:
parent
89caa8e552
commit
fe58c181d3
@ -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…
Reference in New Issue
Block a user