mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
- fix build with libtiff 3.9
Feature safe: yes
This commit is contained in:
parent
91e0e6e9b5
commit
9cd8e3316a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=241504
@ -1,5 +1,5 @@
|
|||||||
--- configure.orig 2009-05-15 19:50:52.000000000 +0200
|
--- 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 @@
|
@@ -831,6 +831,7 @@
|
||||||
# NB: use ANSI C prototype to weed out non-ANSI compilers.
|
# NB: use ANSI C prototype to weed out non-ANSI compilers.
|
||||||
#
|
#
|
||||||
@ -21,11 +21,11 @@
|
|||||||
if [ "$DISABLE_JBIG" != "yes" ]; then
|
if [ "$DISABLE_JBIG" != "yes" ]; then
|
||||||
Note "Checking for JBIG library support"
|
Note "Checking for JBIG library support"
|
||||||
- CheckForLibrary jbg_enc_init -ljbig &&
|
- 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 && {
|
CheckForIncludeFile jbig.h && {
|
||||||
HAVE_JBIG="#define HAVE_JBIG 1"
|
HAVE_JBIG="#define HAVE_JBIG 1"
|
||||||
- LIBJBIG="-ljbig"
|
- LIBJBIG="-ljbig"
|
||||||
+ LIBJBIG="-L/usr/local/lib -L/usr/local/lib -ljbig"
|
+ LIBJBIG="-L/usr/local/lib -ljbig"
|
||||||
}
|
}
|
||||||
if [ "x$LIBJBIG" = "x" ]; then
|
if [ "x$LIBJBIG" = "x" ]; then
|
||||||
Note "... not found. Disabling JBIG support"
|
Note "... not found. Disabling JBIG support"
|
||||||
@ -125,6 +125,15 @@
|
|||||||
#include "tiffio.h"
|
#include "tiffio.h"
|
||||||
main()
|
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 @@
|
@@ -3233,7 +3269,7 @@
|
||||||
strtoul
|
strtoul
|
||||||
writev
|
writev
|
||||||
|
Loading…
Reference in New Issue
Block a user