git: 72841f7448e5 - main - comms/hylafax: Prepare for tiff 4.4.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 09 Aug 2022 22:51:35 UTC
The branch main has been updated by diizzy: URL: https://cgit.FreeBSD.org/ports/commit/?id=72841f7448e5280fb59aa8e9596ba374c7b0fb2c commit 72841f7448e5280fb59aa8e9596ba374c7b0fb2c Author: Daniel Engberg <diizzy@FreeBSD.org> AuthorDate: 2022-08-09 22:48:29 +0000 Commit: Daniel Engberg <diizzy@FreeBSD.org> CommitDate: 2022-08-09 22:51:28 +0000 comms/hylafax: Prepare for tiff 4.4.0 Update configure script to detect new version Reported by: antoine --- comms/hylafax/files/patch-configure | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/comms/hylafax/files/patch-configure b/comms/hylafax/files/patch-configure index 255ade4a6a40..41211d66aea7 100644 --- a/comms/hylafax/files/patch-configure +++ b/comms/hylafax/files/patch-configure @@ -20,7 +20,7 @@ EOF capture cat dummy.c if capture "$CCOMPILER -c -M $MKDEPCOPTS dummy.c | grep '^dummy.o[ ]*:[ ]*dummy.c'"; then -@@ -1629,7 +1631,7 @@ pamconv(int num_msg, const struct pam_me +@@ -1629,7 +1631,7 @@ pamconv(int num_msg, const struct pam_message **msg, s { return(0); } @@ -52,20 +52,20 @@ + f="memmove" + CheckForLibraryWithArgs $f '(char *)0L, "", 0' -lc || { + CheckForLibraryWithArgs $f '(char *)0L, "", 0' -lg++ && { -+ Note "Looks like we need -lg++ for $f" -+ MACHDEPLIBS="$MACHDEPLIBS -lg++" -+ break; -+ } -+ } -+ f="strdup" -+ CheckForLibraryWithArgs $f '""' -lc || { -+ CheckForLibraryWithArgs $f '""' -lg++ && { Note "Looks like we need -lg++ for $f" MACHDEPLIBS="$MACHDEPLIBS -lg++" break; } } - done ++ f="strdup" ++ CheckForLibraryWithArgs $f '""' -lc || { ++ CheckForLibraryWithArgs $f '""' -lg++ && { ++ Note "Looks like we need -lg++ for $f" ++ MACHDEPLIBS="$MACHDEPLIBS -lg++" ++ break; ++ } ++ } fi - for f in strtoul strerror memmove random; do + f="strtoul" @@ -173,7 +173,7 @@ tiff_bytecount_t="uint32" ;; - 4.[0]) tiff_runlen_t="uint32" -+ 4.[0123]) tiff_runlen_t="uint32" ++ 4.[01234]) tiff_runlen_t="uint32" tiff_offset_t="uint64" tiff_bytecount_t="uint64" echo '#define TIFFHeader TIFFHeaderClassic'