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

View file

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