tools/mpfr: update to 4.0.0
authorHannu Nyman <hannu.nyman@iki.fi>
Wed, 17 Jan 2018 19:06:19 +0000 (21:06 +0200)
committerJohn Crispin <john@phrozen.org>
Thu, 18 Jan 2018 07:04:18 +0000 (08:04 +0100)
Update mpfr to 4.0.0

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
tools/mpfr/Makefile
tools/mpfr/patches/001-only_src.patch
tools/mpfr/patches/100-freebsd-compat.patch

index f3e337ada271fdef1be23dd39bec7eb3a23ca6d5..2afb02598068b7bcb9d86dbad42dab5952aa3cfa 100644 (file)
@@ -7,13 +7,13 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=mpfr
-PKG_VERSION:=3.1.6
+PKG_VERSION:=4.0.0
 PKG_CPE_ID:=cpe:/a:mpfr:gnu_mpfr
 
 PKG_SOURCE_URL:=http://www.mpfr.org/mpfr-$(PKG_VERSION) \
                @GNU/mpfr
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
-PKG_HASH:=7a62ac1a04408614fccdc506e4844b10cf0ad2c2b1677097f8f35d3a1344a950
+PKG_HASH:=fbe2cd1418b321f5c899ce4f0f0f4e73f5ecc7d02145b0e1fd096f5c3afb8a1d
 
 HOST_BUILD_PARALLEL:=1
 HOST_FIXUP:=autoreconf
index b983f879c2bc6959e5184d95e51f0f29daa468ef..019928741af62abbc6b28334f197be9951bb4eae 100644 (file)
@@ -4,19 +4,19 @@
  # old Automake version.
  ACLOCAL_AMFLAGS = -I m4
  
--SUBDIRS = doc src tests tune
+-SUBDIRS = doc src tests tune tools/bench
 +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 \
+ pkgconfigdir = $(libdir)/pkgconfig
+ pkgconfig_DATA = mpfr.pc
 --- a/Makefile.in
 +++ b/Makefile.in
-@@ -378,7 +378,7 @@ AUTOMAKE_OPTIONS = gnu
+@@ -383,7 +383,7 @@ AUTOMAKE_OPTIONS = gnu
  # libtoolize and in case some developer needs to switch back to an
  # old Automake version.
  ACLOCAL_AMFLAGS = -I m4
--SUBDIRS = doc src tests tune
+-SUBDIRS = doc src tests tune tools/bench
 +SUBDIRS = src
+ pkgconfigdir = $(libdir)/pkgconfig
+ pkgconfig_DATA = mpfr.pc
  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
index fa28a67d956f9d258ce24cbd90dba264f419bcb2..c357b68736f660bb6f9535de84baa525846d9603 100644 (file)
@@ -1,6 +1,6 @@
 --- a/src/vasprintf.c
 +++ b/src/vasprintf.c
-@@ -42,6 +42,7 @@ http://www.gnu.org/licenses/ or write to
+@@ -61,6 +61,7 @@ http://www.gnu.org/licenses/ or write to
  #endif /* HAVE_VA_COPY */
  
  #ifdef HAVE_WCHAR_H