diff options
Diffstat (limited to 'tools/mpfr/patches')
-rw-r--r-- | tools/mpfr/patches/001-only_src.patch | 22 | ||||
-rw-r--r-- | tools/mpfr/patches/100-freebsd-compat.patch | 10 |
2 files changed, 32 insertions, 0 deletions
diff --git a/tools/mpfr/patches/001-only_src.patch b/tools/mpfr/patches/001-only_src.patch new file mode 100644 index 0000000..51a75b4 --- /dev/null +++ b/tools/mpfr/patches/001-only_src.patch @@ -0,0 +1,22 @@ +--- a/Makefile.am ++++ b/Makefile.am +@@ -12,7 +12,7 @@ + AUTOMAKE_OPTIONS = gnu + ACLOCAL_AMFLAGS = -I m4 + +-SUBDIRS = doc src tests tune ++SUBDIRS = src + + nobase_dist_doc_DATA = AUTHORS BUGS COPYING COPYING.LESSER NEWS TODO \ + examples/ReadMe examples/divworst.c examples/rndo-add.c examples/sample.c \ +--- a/Makefile.in ++++ b/Makefile.in +@@ -295,7 +295,7 @@ top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ + AUTOMAKE_OPTIONS = gnu + ACLOCAL_AMFLAGS = -I m4 +-SUBDIRS = doc src tests tune ++SUBDIRS = src + nobase_dist_doc_DATA = AUTHORS BUGS COPYING COPYING.LESSER NEWS TODO \ + examples/ReadMe examples/divworst.c examples/rndo-add.c examples/sample.c \ + examples/version.c diff --git a/tools/mpfr/patches/100-freebsd-compat.patch b/tools/mpfr/patches/100-freebsd-compat.patch new file mode 100644 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 + |