summaryrefslogtreecommitdiff
path: root/hints/freebsd.sh
diff options
context:
space:
mode:
authorAndy Dougherty <doughera@lafayette.edu>2007-10-24 09:12:49 -0400
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-10-25 08:48:49 +0000
commit0d4d1c152f27e79bb2170012c2b85f944e06d9e9 (patch)
treeefb87c602d1eb882f3f00af84d9894a0be7970b3 /hints/freebsd.sh
parent72287d960b27266568e4ac3e7defc1c830eec00b (diff)
downloadperl-0d4d1c152f27e79bb2170012c2b85f944e06d9e9.tar.gz
(Was Re: [PATCH] FreeBSD atoll() warning)
Message-ID: <Pine.LNX.4.64.0710241307450.21836@fractal.phys.lafayette.edu> p4raw-id: //depot/perl@32190
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'