summaryrefslogtreecommitdiff
path: root/comms/hylafax/files/patch-configure
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2005-08-01 16:21:23 +0000
committerMikhail Teterin <mi@FreeBSD.org>2005-08-01 16:21:23 +0000
commitc780bb1feeaac1db511b213e232a02913a832597 (patch)
treeaceec8a6b1cd44fc3bfb95f331fc23f0a907fdc9 /comms/hylafax/files/patch-configure
parent- Update to 1.12.5 (diff)
Fix a verbose-mode crash:
http://bugs.hylafax.org/bugzilla/show_bug.cgi?id=671 force HylaFax not to build its own vsnprintf(): http://bugs.hylafax.org/bugzilla/show_bug.cgi?id=672 patch not to need cuserid() and fix an imperial ton of compiler warnings (another metric ton remains): http://bugs.hylafax.org/bugzilla/show_bug.cgi?id=673 http://bugs.hylafax.org/bugzilla/show_bug.cgi?id=674 Approved by: maintainer timeout
Notes
Notes: svn path=/head/; revision=140689
Diffstat (limited to 'comms/hylafax/files/patch-configure')
-rw-r--r--comms/hylafax/files/patch-configure27
1 files changed, 27 insertions, 0 deletions
diff --git a/comms/hylafax/files/patch-configure b/comms/hylafax/files/patch-configure
index 10a15e701946..08c033926769 100644
--- a/comms/hylafax/files/patch-configure
+++ b/comms/hylafax/files/patch-configure
@@ -47,6 +47,33 @@
}
if [ "x$PAMLIBS" = "x" ]; then
Note "... not found. Disabling PAM support"
+@@ -2661,5 +2661,4 @@
+ CheckFuncDecl strtoul \
+ 'extern unsigned long strtoul(const char*, char**, int);' stdlib.h
+- CheckFuncDecl cuserid 'extern char* cuserid(char*);' stdio.h
+ #
+ # unistd.h is for sco3.2v4.[0-2] and GNU libc (yech!)
+@@ -2677,8 +2676,4 @@
+ CheckStdio fdopen 'extern FILE* fdopen(int, const char*);'
+ CheckStdio snprintf 'extern int snprintf(char*, size_t, const char*,...);'
+- CheckForFuncDecl vsnprintf stdio.h || {
+- echo '#include <stdarg.h>'
+- AddFuncDecl vsnprintf 'extern int vsnprintf(char*, size_t, const char*, va_list);'
+- }
+ CheckForDefine fileno stdio.h || {
+ CheckStdio fileno 'extern int fileno(FILE*);'
+@@ -3010,5 +3005,4 @@
+
+ FUNCS="
+- cuserid
+ flock
+ ftruncate
+@@ -3024,5 +3018,4 @@
+ strtod
+ strtoul
+- vsnprintf
+ writev
+ "
@@ -4326,18 +4326,8 @@
HylaFAX configuration parameters (part 1 of 2) are: