projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tools: Fix mpfr build on FreeBSD 10.1
[openwrt/svn-archive/archive.git]
/
tools
/
mpfr
/
patches
/
100-freebsd-compat.patch
diff --git a/tools/mpfr/patches/100-freebsd-compat.patch
b/tools/mpfr/patches/100-freebsd-compat.patch
new file mode 100644
(file)
index 0000000..
fa28a67
--- /dev/null
+++ b/
tools/mpfr/patches/100-freebsd-compat.patch
@@ -0,0
+1,10
@@
+--- a/src/vasprintf.c
++++ b/src/vasprintf.c
+@@ -42,6 +42,7 @@ http://www.gnu.org/licenses/ or write to
+ #endif /* HAVE_VA_COPY */
+
+ #ifdef HAVE_WCHAR_H
++#include <stddef.h>
+ #include <wchar.h>
+ #endif
+