summaryrefslogtreecommitdiff
path: root/comms/hylafax/files/patch-configure
diff options
context:
space:
mode:
authorDaniel Engberg <diizzy@FreeBSD.org>2022-08-10 00:48:29 +0200
committerDaniel Engberg <diizzy@FreeBSD.org>2022-08-10 00:51:28 +0200
commit72841f7448e5280fb59aa8e9596ba374c7b0fb2c (patch)
tree6d7ecb25de3ac8c5ab8757f72e31a6fe7377b067 /comms/hylafax/files/patch-configure
parentsecurity/wazuh-manager: Fix build (diff)
comms/hylafax: Prepare for tiff 4.4.0
Update configure script to detect new version Reported by: antoine
Diffstat (limited to 'comms/hylafax/files/patch-configure')
-rw-r--r--comms/hylafax/files/patch-configure20
1 files 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'