aboutsummaryrefslogtreecommitdiffstats
path: root/comms/hylafax
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2009-09-16 16:26:11 +0800
committerdinoex <dinoex@FreeBSD.org>2009-09-16 16:26:11 +0800
commite1013e0aca8c9a9edb06c95d954ab928af4090d2 (patch)
tree7416d641914da88843ffc7670797f7d7ab4a64ef /comms/hylafax
parent036a09312f1bbe861765a71138a9c2a2c53639a2 (diff)
downloadfreebsd-ports-gnome-e1013e0aca8c9a9edb06c95d954ab928af4090d2.tar.gz
freebsd-ports-gnome-e1013e0aca8c9a9edb06c95d954ab928af4090d2.tar.zst
freebsd-ports-gnome-e1013e0aca8c9a9edb06c95d954ab928af4090d2.zip
- fix build with libtiff 3.9
Feature safe: yes
Diffstat (limited to 'comms/hylafax')
-rw-r--r--comms/hylafax/files/patch-configure15
1 files changed, 12 insertions, 3 deletions
diff --git a/comms/hylafax/files/patch-configure b/comms/hylafax/files/patch-configure
index 5339c0d3618c..f6120b99b825 100644
--- a/comms/hylafax/files/patch-configure
+++ b/comms/hylafax/files/patch-configure
@@ -1,5 +1,5 @@
--- configure.orig 2009-05-15 19:50:52.000000000 +0200
-+++ configure 2009-05-31 11:46:51.000000000 +0200
++++ configure 2009-09-16 09:49:41.000000000 +0200
@@ -831,6 +831,7 @@
# NB: use ANSI C prototype to weed out non-ANSI compilers.
#
@@ -21,11 +21,11 @@
if [ "$DISABLE_JBIG" != "yes" ]; then
Note "Checking for JBIG library support"
- CheckForLibrary jbg_enc_init -ljbig &&
-+ CheckForLibrary jbg_enc_init -L/usr/local/lib -L/usr/local/lib -ljbig &&
++ CheckForLibrary jbg_enc_init -L/usr/local/lib -ljbig &&
CheckForIncludeFile jbig.h && {
HAVE_JBIG="#define HAVE_JBIG 1"
- LIBJBIG="-ljbig"
-+ LIBJBIG="-L/usr/local/lib -L/usr/local/lib -ljbig"
++ LIBJBIG="-L/usr/local/lib -ljbig"
}
if [ "x$LIBJBIG" = "x" ]; then
Note "... not found. Disabling JBIG support"
@@ -125,6 +125,15 @@
#include "tiffio.h"
main()
{
+@@ -2551,7 +2587,7 @@
+ if [ ${header_ver} -ge 19960307 ]; then
+ case ${lib_ver} in
+ 3.4) tiff_runlen_t="uint16" ;;
+- 3.[5678]) tiff_runlen_t="uint32" ;;
++ 3.[56789]) tiff_runlen_t="uint32" ;;
+ esac
+ fi
+ else
@@ -3233,7 +3269,7 @@
strtoul
writev