aboutsummaryrefslogtreecommitdiff
path: root/math/mpfr
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2014-09-09 13:22:56 +0000
committerAlex Dupre <ale@FreeBSD.org>2014-09-09 13:22:56 +0000
commit41688183cdbf051f8598f748cd738f4cb7b58347 (patch)
tree0135b17cad9fe9d94af6260306589955b51668d6 /math/mpfr
parent06ea9e396829accd97a2bb04a967b5ca26ee9a14 (diff)
downloadports-41688183cdbf051f8598f748cd738f4cb7b58347.tar.gz
ports-41688183cdbf051f8598f748cd738f4cb7b58347.zip
Fix build with gcc 4.9.
PR: 193340 Submitted by: Olivier <software-freebsd@interfasys.ch>
Notes
Notes: svn path=/head/; revision=367731
Diffstat (limited to 'math/mpfr')
-rw-r--r--math/mpfr/files/patch-src_vasprintf.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/math/mpfr/files/patch-src_vasprintf.c b/math/mpfr/files/patch-src_vasprintf.c
new file mode 100644
index 000000000000..2ef821412539
--- /dev/null
+++ b/math/mpfr/files/patch-src_vasprintf.c
@@ -0,0 +1,10 @@
+--- src/vasprintf.c.orig 2014-09-09 13:16:32.729289288 +0000
++++ src/vasprintf.c 2014-09-09 13:16:52.201287983 +0000
+@@ -42,6 +42,7 @@
+ #endif /* HAVE_VA_COPY */
+
+ #ifdef HAVE_WCHAR_H
++#include <stddef.h>
+ #include <wchar.h>
+ #endif
+