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:
Takuya Wakazono
2024-10-14 17:51:31 +09:00
parent 3af0defcae
commit 28370b177b
3 changed files with 21 additions and 2 deletions

View 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.

View File

@@ -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

View File

@@ -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>