Merge pull request #122650 from helsinki-systems/fix/hylafaxplus
hylafaxplus: fix build
This commit is contained in:
commit
e6635d8b2f
|
@ -67,6 +67,9 @@ stdenv.mkDerivation {
|
|||
url = "mirror://sourceforge/hylafax/hylafax-${version}.tar.gz";
|
||||
inherit sha256;
|
||||
};
|
||||
patches = [
|
||||
./libtiff-4.2.patch # adjust configure check to work with libtiff > 4.1
|
||||
];
|
||||
# Note that `configure` (and maybe `faxsetup`) are looking
|
||||
# for a couple of standard binaries in the `PATH` and
|
||||
# hardcode their absolute paths in the new package.
|
||||
|
|
13
pkgs/servers/hylafaxplus/libtiff-4.2.patch
Normal file
13
pkgs/servers/hylafaxplus/libtiff-4.2.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
diff --git a/configure b/configure
|
||||
index 7456dcb..90f0e8d 100755
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -2583,7 +2583,7 @@ EOF
|
||||
echo '#define TIFFSTRIPBYTECOUNTS uint32'
|
||||
echo '#define TIFFVERSION TIFF_VERSION'
|
||||
echo '#define TIFFHEADER TIFFHeader';;
|
||||
- 4.[01]) tiff_runlen_t="uint32"
|
||||
+ 4.[012]) tiff_runlen_t="uint32"
|
||||
tiff_offset_t="uint64"
|
||||
echo '#define TIFFSTRIPBYTECOUNTS uint64'
|
||||
echo '#define TIFFVERSION TIFF_VERSION_CLASSIC'
|
Loading…
Reference in a new issue