Author: jow Date: 2015-02-05 17:58:10 +0100 (Thu, 05 Feb 2015) New Revision: 44279
Added: trunk/tools/mpfr/patches/100-freebsd-compat.patch Modified: trunk/tools/mpfr/patches/001-only_src.patch Log: tools: Fix mpfr build on FreeBSD 10.1 Signed-off-by: Jo-Philipp Wich <[email protected]> Modified: trunk/tools/mpfr/patches/001-only_src.patch =================================================================== --- trunk/tools/mpfr/patches/001-only_src.patch 2015-02-05 16:57:57 UTC (rev 44278) +++ trunk/tools/mpfr/patches/001-only_src.patch 2015-02-05 16:58:10 UTC (rev 44279) @@ -11,7 +11,7 @@ examples/ReadMe examples/divworst.c examples/rndo-add.c examples/sample.c \ --- a/Makefile.in +++ b/Makefile.in -@@ -294,7 +294,7 @@ top_builddir = @top_builddir@ +@@ -295,7 +295,7 @@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ AUTOMAKE_OPTIONS = gnu ACLOCAL_AMFLAGS = -I m4 Added: trunk/tools/mpfr/patches/100-freebsd-compat.patch =================================================================== --- trunk/tools/mpfr/patches/100-freebsd-compat.patch (rev 0) +++ trunk/tools/mpfr/patches/100-freebsd-compat.patch 2015-02-05 16:58:10 UTC (rev 44279) @@ -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 + _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
