gnum4: fix build with glibc>=2.28

This commit is contained in:
Luka Blaskovic 2019-08-12 12:42:59 +00:00
parent 27534bd6ab
commit 820a197b5f

View File

@ -13,7 +13,14 @@ stdenv.mkDerivation {
configureFlags = [ "--with-syscmd-shell=${stdenv.shell}" ];
# Upstream is aware of it; it may be in the next release.
patches = [ ./s_isdir.patch ]
patches =
[
./s_isdir.patch
(fetchurl {
url = "https://sources.debian.org/data/main/m/m4/1.4.18-2/debian/patches/01-fix-ftbfs-with-glibc-2.28.patch";
sha256 = "12lmdnbml9lfvy0khpjc42riicddaz7li8wmbnsam7zsw6al11qk";
})
]
++ stdenv.lib.optional stdenv.isDarwin ./darwin-secure-format.patch;
meta = {