mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
net-misc/iipsrv: fix libtiff in configure script
Closes: https://bugs.gentoo.org/929027 Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
13
net-misc/iipsrv/files/iipsrv-1.2-tiff.patch
Normal file
13
net-misc/iipsrv/files/iipsrv-1.2-tiff.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
https://bugs.gentoo.org/929027
|
||||
https://github.com/ruven/iipsrv/commit/0d16fc300c809aafea5d8cd1ec39cdc1f7d47ec7
|
||||
--- a/acinclude.m4
|
||||
+++ b/acinclude.m4
|
||||
@@ -460,7 +460,7 @@ if test "$TIFF_LIBS" = ""; then
|
||||
INCLUDES="$TIFF_INCLUDES $INCLUDES"
|
||||
|
||||
# Try the standard search path first
|
||||
- AC_TRY_LINK([#include <tiff.h>],[TIFFGetVersion();], [
|
||||
+ AC_TRY_LINK([#include <tiffio.h>],[TIFFGetVersion();], [
|
||||
TIFF_LIBS="-ltiff"
|
||||
], [
|
||||
# libtiff is not in the standard search path.
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit systemd
|
||||
inherit autotools systemd
|
||||
|
||||
DESCRIPTION="High performance image server for high resolution and scientific images"
|
||||
HOMEPAGE="https://iipimage.sourceforge.io"
|
||||
@@ -40,8 +40,14 @@ QA_CONFIG_IMPL_DECL_SKIP=( TIFFGetVersion )
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-rawtile.patch"
|
||||
"${FILESDIR}/${P}-make.patch"
|
||||
"${FILESDIR}/${P}-tiff.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
# Rename and install our binary
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
<name>Ruven</name>
|
||||
</maintainer>
|
||||
<changelog>https://github.com/ruven/iipsrv/commits/master</changelog>
|
||||
<doc>https://iipimage.sourceforge.net/documentation/server</doc>
|
||||
<doc>https://iipimage.sourceforge.io/documentation/server</doc>
|
||||
<remote-id type="github">ruven/iipsrv</remote-id>
|
||||
<remote-id type="sourceforge">iipimage</remote-id>
|
||||
</upstream>
|
||||
|
||||
Reference in New Issue
Block a user