summaryrefslogtreecommitdiff
path: root/hints/freebsd.sh
diff options
context:
space:
mode:
Diffstat (limited to 'hints/freebsd.sh')
-rw-r--r--hints/freebsd.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/hints/freebsd.sh b/hints/freebsd.sh
index 8bfb742f11..38908fe724 100644
--- a/hints/freebsd.sh
+++ b/hints/freebsd.sh
@@ -284,3 +284,12 @@ EOCBU
case "$usemallocwrap" in
'') usemallocwrap='define' ;;
esac
+
+# XXX Under FreeBSD 6.0 (and probably most other similar versions)
+# Perl_die(NULL) generates a warning:
+# pp_sys.c:491: warning: null format string
+# Configure supposedely tests for this, but apparently the test doesn't
+# work. Volunteers with FreeBSD are needed to improving the Configure test.
+# Meanwhile, the following workaround should be safe on all versions
+# of FreeBSD.
+d_printf_format_null='undef'