1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-28 00:22:13 +00:00
nixpkgs/pkgs/servers/hylafaxplus/libtiff-4.patch
Yarny0 44aea0986b hylafaxplus: 7.0.3 -> 7.0.4
Release notes: https://hylafax.sourceforge.io/news/7.0.4.php

Regarding libtiff versions:

In the past, libtiff updates sometimes broke hylafaxplus builds
as the configure script checks the libtiff version
very thoroughly:

https://github.com/NixOS/nixpkgs/pull/122650
https://github.com/NixOS/nixpkgs/pull/130888

The new version permits libtiff versions `4.[0123]`,
due to this commit

https://sourceforge.net/p/hylafax/HylaFAX+/2595/

This is OK for now as we currently ship libtiff 4.3.
However, since the past tells us that libtiff
updates are rarely a problem, we keep our
patch that permits libtiff versions `4.[0-9]`.

The patch also needs adaption to new libtiff integer types
due to this commit

https://sourceforge.net/p/hylafax/HylaFAX+/2597/#diff-2
2021-09-04 13:05:36 +02:00

13 lines
434 B
Diff

https://bugs.gentoo.org/706154
--- a/configure
+++ b/configure
@@ -2583,7 +2583,7 @@ EOF
echo '#define TIFFSTRIPBYTECOUNTS uint32_t'
echo '#define TIFFVERSION TIFF_VERSION'
echo '#define TIFFHEADER TIFFHeader';;
- 4.[0123]) tiff_runlen_t="uint32_t"
+ 4.[0-9]) tiff_runlen_t="uint32_t"
tiff_offset_t="uint64_t"
echo '#define TIFFSTRIPBYTECOUNTS uint64_t'
echo '#define TIFFVERSION TIFF_VERSION_CLASSIC'