diff options
author | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-11-20 19:28:02 +0000 |
---|---|---|
committer | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-11-20 22:18:43 +0000 |
commit | ba1a39bca7ee82b3b41d0eaa44fbaf325df35d97 (patch) | |
tree | e0a703ca0d806519ff80792a71a06e8ba7bab461 /main/hylafaxplus | |
parent | 32f331505e6e2ada549f3b62a584a7d185f3039d (diff) | |
download | aports-ba1a39bca7ee82b3b41d0eaa44fbaf325df35d97.tar.bz2 aports-ba1a39bca7ee82b3b41d0eaa44fbaf325df35d97.tar.xz |
main/hylafaxplus: add compattibility for libtiff 4.1
The configure script checks explicitly for libtiff versions. The version
of libtiff that is currently in aports is 4.1, which was not included as
a recognized version.
Patch configure to recognize libtiff 4.1
Diffstat (limited to 'main/hylafaxplus')
-rw-r--r-- | main/hylafaxplus/APKBUILD | 8 | ||||
-rw-r--r-- | main/hylafaxplus/libtiff-41-compatibility.patch | 15 |
2 files changed, 20 insertions, 3 deletions
diff --git a/main/hylafaxplus/APKBUILD b/main/hylafaxplus/APKBUILD index 0ac23b303d..0c0e905578 100644 --- a/main/hylafaxplus/APKBUILD +++ b/main/hylafaxplus/APKBUILD @@ -3,7 +3,7 @@ pkgname=hylafaxplus _pkgname=hylafax pkgver=7.0.1 -pkgrel=0 +pkgrel=1 pkgdesc="Making the Premier Open-Source Fax Management System Even Better" url="http://hylafax.sourceforge.net" arch="all" @@ -11,7 +11,7 @@ license="MIT" # check/test not supported from upstream options="!check" depends="ghostscript bash tiff-tools !$_pkgname" -makedepends="zlib-dev tiff-dev gettext-dev openldap-dev lcms2-dev +makedepends="zlib-dev tiff-dev<4.2 gettext-dev openldap-dev lcms2-dev libffi-dev jbig2dec-dev sed readline-dev" subpackages="$pkgname-doc $pkgname-lang $pkgname-openrc" source="https://downloads.sourceforge.net/hylafax/${_pkgname}-${pkgver}.tar.gz @@ -20,6 +20,7 @@ source="https://downloads.sourceforge.net/hylafax/${_pkgname}-${pkgver}.tar.gz common-functions-busybox-awk.patch no-locale.patch utf8-dictionary.patch + libtiff-41-compatibility.patch " builddir="$srcdir"/$_pkgname-$pkgver @@ -96,4 +97,5 @@ sha512sums="2930cf19a83e7826ac8c6ee9e7d58789fd7e8202cb80cc4a953e67e1e600e76caaa2 a2117eddc8f0ff70a23a90f2001dcb88c5bddee46ffa021d6d1701cc5cfc3bcb0362ead2b1b1ce2b288992728053c5947466d08916649f45e7dfb1876576e50f hylafaxplus.confd 41ae2055a7781d83fc275aafe18ced0fe75ba79d3ad7d5096eabaeae3a514b564723185dd33820268577174f6c53bfcfddb30922ba50754b15c5c3b0abbec837 common-functions-busybox-awk.patch 4a1243daff9904e6395c3e28aa4a78a74de99f5aa9dbf5055a3781acfcd9b1b3db42b1569409b27e3ef9b0e55272dc99122436a79a08c9a1c140c2547c5a2c15 no-locale.patch -f5f1e33897a91b8297311c033d50e7ea2f9088568264a5b9224285066a504da8cc4296f973dd0a70e09abca538cef26964c6181f4f67f76400783d0697f05e61 utf8-dictionary.patch" +f5f1e33897a91b8297311c033d50e7ea2f9088568264a5b9224285066a504da8cc4296f973dd0a70e09abca538cef26964c6181f4f67f76400783d0697f05e61 utf8-dictionary.patch +888cf5aa64abb0f7ef58a195118cc2311a7e0f8d07e784fae791e80674da6e47174ebd3e67e420f6c9fe6e5006d169747590fa8d1e3857968b085dde179da2af libtiff-41-compatibility.patch" diff --git a/main/hylafaxplus/libtiff-41-compatibility.patch b/main/hylafaxplus/libtiff-41-compatibility.patch new file mode 100644 index 0000000000..8229ae5a85 --- /dev/null +++ b/main/hylafaxplus/libtiff-41-compatibility.patch @@ -0,0 +1,15 @@ +diff --git a/configure b/configure +old mode 100755 +new mode 100755 +index 7a47928440..8b16282615 +--- a/configure ++++ b/configure +@@ -2581,7 +2581,7 @@ EOF + echo '#define TIFFSTRIPBYTECOUNTS uint32' + echo '#define TIFFVERSION TIFF_VERSION' + echo '#define TIFFHEADER TIFFHeader';; +- 4.0) tiff_runlen_t="uint32" ++ 4.[01]) tiff_runlen_t="uint32" + tiff_offset_t="uint64" + echo '#define TIFFSTRIPBYTECOUNTS uint64' + echo '#define TIFFVERSION TIFF_VERSION_CLASSIC' |