hylafaxplus: 7.0.5 -> 7.0.6

* update libtiff patch due to
  https://sourceforge.net/p/hylafax/HylaFAX+/2682/
* add openssl to buildInputs due to
  https://sourceforge.net/p/hylafax/HylaFAX+/2664/

Release notes: https://hylafax.sourceforge.io/news/7.0.6.php
This commit is contained in:
Yarny0 2022-07-27 09:00:14 +02:00
parent 5a0e0d73b9
commit ad9e5b9386
2 changed files with 6 additions and 4 deletions

View file

@ -13,6 +13,7 @@
, gnugrep
, gnused
, libtiff
, openssl
, psmisc
, sharutils
, util-linux
@ -30,8 +31,8 @@
let
pname = "hylafaxplus";
version = "7.0.5";
sha256 = "1blv251r0yhnhxk9wgkjgr35al50q23hiskjkcbs8lmqqrz0cm8f";
version = "7.0.6";
hash = "sha512-0faeEwF/XQE/85zwUMOnrGzvGanuWRDr53SnrgbX0i/SHjHelzSEd2TK6plVOfV4w8RY7Ox7lSO1gjqEEzfZyw==";
configSite = substituteAll {
name = "${pname}-config.site";
@ -65,7 +66,7 @@ stdenv.mkDerivation {
inherit pname version;
src = fetchurl {
url = "mirror://sourceforge/hylafax/hylafax-${version}.tar.gz";
inherit sha256;
inherit hash;
};
patches = [
# adjust configure check to work with libtiff > 4.1
@ -78,6 +79,7 @@ stdenv.mkDerivation {
file # for `file` command
ghostscript
libtiff
openssl
psmisc # for `fuser` command
sharutils # for `uuencode` command
util-linux # for `agetty` command

View file

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