commit:     82e3eefd5447f36e5bb00068a54b91d8c891ccf6
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Mar  2 03:47:12 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar  2 03:49:04 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82e3eefd

net-misc/hylafaxplus: allow newer media-libs/tiff

Closes: https://bugs.gentoo.org/706154
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-misc/hylafaxplus/Manifest                               |  1 +
 net-misc/hylafaxplus/files/hylafaxplus-7.0.2-tiff-4.2.patch | 12 ++++++++++++
 net-misc/hylafaxplus/hylafaxplus-7.0.2.ebuild               |  3 ++-
 3 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/net-misc/hylafaxplus/Manifest b/net-misc/hylafaxplus/Manifest
index 22ece946d03..56ee707629f 100644
--- a/net-misc/hylafaxplus/Manifest
+++ b/net-misc/hylafaxplus/Manifest
@@ -1 +1,2 @@
 DIST hylafax-7.0.2.tar.gz 1393586 BLAKE2B 
cbf99f91a0aa07783dd30e76ce8416b2933240d4bf829220909000519f9c9e14a324163707c14504848ba71e7c1ee7d98455f06bb040c2c50c1493d0138122aa
 SHA512 
ea68404ad79e798b29450683eaa927e73033e0fa8160b803a3e2c9000df487c81193cc8fc0c1187477f5e1b2e26eec1c065ebc17e0be82e9a3e3758b1b5b5e4e
+DIST hylafax-7.0.3.tar.gz 1405116 BLAKE2B 
dbf8f87380929eb79ca0f18042c3397460dd6774f16defde8e9427d1d14094e00f6be491552f3ff6cc4c3d1fad0ec67a0c1a5fa3b4cb1e07c2f0c956eaefe8ed
 SHA512 
938a21e4573fdf12bbc03dfee85e00555e7790a83a26316ac9cd1983501860858175d599c35f3b383cb0748518644587c203fb429966b5de3b615689d856281a

diff --git a/net-misc/hylafaxplus/files/hylafaxplus-7.0.2-tiff-4.2.patch 
b/net-misc/hylafaxplus/files/hylafaxplus-7.0.2-tiff-4.2.patch
new file mode 100644
index 00000000000..97623b85080
--- /dev/null
+++ b/net-misc/hylafaxplus/files/hylafaxplus-7.0.2-tiff-4.2.patch
@@ -0,0 +1,12 @@
+https://bugs.gentoo.org/706154
+--- 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'

diff --git a/net-misc/hylafaxplus/hylafaxplus-7.0.2.ebuild 
b/net-misc/hylafaxplus/hylafaxplus-7.0.2.ebuild
index 05ecc5abe48..6cbf6123a4c 100644
--- a/net-misc/hylafaxplus/hylafaxplus-7.0.2.ebuild
+++ b/net-misc/hylafaxplus/hylafaxplus-7.0.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -44,6 +44,7 @@ CONFIG_PROTECT_MASK="${CONFIG_PROTECT_MASK} 
/var/spool/fax/etc/xferfaxlog"
 PATCHES=(
        "${FILESDIR}/ldconfig-patch"
        "${FILESDIR}/${PN}-CVE-2020-1539x.patch"
+       "${FILESDIR}/${PN}-7.0.2-tiff-4.2.patch"
 )
 
 src_prepare() {

Reply via email to