diff options
author | dinoex <dinoex@FreeBSD.org> | 2012-06-11 03:57:52 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2012-06-11 03:57:52 +0800 |
commit | eeb56a420ebf39c2aa94b7656f15c829f6ace173 (patch) | |
tree | a3f88d0f7c07379e767b2294dca5862322865a7f /comms/hylafax/files | |
parent | 869bfae4493a9c17aa32fb5854a9af4f014ee4b4 (diff) | |
download | freebsd-ports-gnome-eeb56a420ebf39c2aa94b7656f15c829f6ace173.tar.gz freebsd-ports-gnome-eeb56a420ebf39c2aa94b7656f15c829f6ace173.tar.zst freebsd-ports-gnome-eeb56a420ebf39c2aa94b7656f15c829f6ace173.zip |
- update to 6.0.6
Diffstat (limited to 'comms/hylafax/files')
-rw-r--r-- | comms/hylafax/files/patch-configure | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/comms/hylafax/files/patch-configure b/comms/hylafax/files/patch-configure index 455dc136694e..86368b377418 100644 --- a/comms/hylafax/files/patch-configure +++ b/comms/hylafax/files/patch-configure @@ -1,5 +1,5 @@ ---- configure.orig 2009-12-28 20:05:40.000000000 +0100 -+++ configure 2010-08-26 21:36:38.000000000 +0200 +--- configure.orig 2012-06-06 02:58:38.000000000 +0200 ++++ configure 2012-06-10 21:25:57.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" @@ -117,23 +117,24 @@ extern char* malloc(); static void boom(const char* msg) -@@ -2532,6 +2567,7 @@ - tiff_runlen_t="" +@@ -2537,6 +2572,7 @@ + tiff_bytecount_t="" cat>t.c<<EOF #include <stdio.h> +#include <stdlib.h> #include "tiffio.h" main() { -@@ -2552,6 +2588,7 @@ - case ${lib_ver} in - 3.4) tiff_runlen_t="uint16" ;; - 3.[56789]) tiff_runlen_t="uint32" ;; -+ 4.[0-9]) tiff_runlen_t="uint32" ;; +@@ -2568,7 +2604,7 @@ + tiff_bytecount_t="uint64" + echo '#define TIFFHeader TIFFHeaderClassic' + echo '#define TIFF_VERSION TIFF_VERSION_CLASSIC' +- echo '#define NEED_TIFFDIRENTRY' ++ echo '#define IGNORE_NEED_TIFFDIRENTRY' + ;; esac fi - else -@@ -3233,7 +3270,7 @@ +@@ -3255,7 +3291,7 @@ strtoul writev " @@ -142,7 +143,7 @@ for i in $FUNCS; do CheckForFunc $i || { Note "... emulate $i" -@@ -3291,6 +3328,7 @@ +@@ -3313,6 +3349,7 @@ # Verify library is compatible. # cat>t.c<<EOF |