Merge pull request #210901 from Yarny0/hylafax

hylafaxplus: fix build with libtiff 4.5
This commit is contained in:
Jörg Thalheim 2023-01-16 01:18:35 +01:00 committed by GitHub
commit c58d7b0c86
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -72,6 +72,16 @@ stdenv.mkDerivation {
patches = [
# adjust configure check to work with libtiff > 4.1
./libtiff-4.patch
# fix missing exports in libtiff 4.5+
# https://gitlab.com/libtiff/libtiff/-/issues/504
# can probably be dropped with next hylafaxplus release
(fetchurl {
name = "hylafaxplus-7.0.6-tiff-4.5.0.patch";
url = "https://dev.gentoo.org/~sam/distfiles/net-misc/hylafaxplus/hylafaxplus-7.0.6-tiff-4.5.0.patch.xz";
downloadToTemp = true;
postFetch = ''xz -d < $downloadedFile > $out'';
hash = "sha256-koZvvzlgZHcANVaYdewnuLARz2TTeyDZRjm0EYWzsmk=";
})
];
# Note that `configure` (and maybe `faxsetup`) are looking
# for a couple of standard binaries in the `PATH` and