From 38b55528a4734885431b6f9e79e39d5687d6946d Mon Sep 17 00:00:00 2001 From: IdrisKalp Date: Wed, 11 Dec 2019 02:11:25 +0300 Subject: [PATCH 1/2] mpfr 4.0.2 --- system/devel/mpfr/actions.py | 2 + system/devel/mpfr/files/mpfr-4.0.2-p1.patch | 45 +++++++++++++++++++++ system/devel/mpfr/pspec.xml | 12 +++++- 3 files changed, 58 insertions(+), 1 deletion(-) create mode 100755 system/devel/mpfr/files/mpfr-4.0.2-p1.patch diff --git a/system/devel/mpfr/actions.py b/system/devel/mpfr/actions.py index 1f208698..6cc3f177 100644 --- a/system/devel/mpfr/actions.py +++ b/system/devel/mpfr/actions.py @@ -20,5 +20,7 @@ def check(): def install(): autotools.install() + pisitools.dosym("/usr/lib/libmpfr.so.6.0.2", "/usr/lib/libmpfr.so.4.1.5") + pisitools.dosym("/usr/lib/libmpfr.so.6.0.2", "/usr/lib/libmpfr.so.4") pisitools.dodoc("NEWS", "README", "TODO") diff --git a/system/devel/mpfr/files/mpfr-4.0.2-p1.patch b/system/devel/mpfr/files/mpfr-4.0.2-p1.patch new file mode 100755 index 00000000..35ca3e7d --- /dev/null +++ b/system/devel/mpfr/files/mpfr-4.0.2-p1.patch @@ -0,0 +1,45 @@ +diff -Naurd mpfr-4.0.2-a/PATCHES mpfr-4.0.2-b/PATCHES +--- mpfr-4.0.2-a/PATCHES 2019-06-02 17:05:36.121226916 +0000 ++++ mpfr-4.0.2-b/PATCHES 2019-06-02 17:05:36.157226621 +0000 +@@ -0,0 +1 @@ ++include-float +diff -Naurd mpfr-4.0.2-a/VERSION mpfr-4.0.2-b/VERSION +--- mpfr-4.0.2-a/VERSION 2019-01-31 20:29:48.000000000 +0000 ++++ mpfr-4.0.2-b/VERSION 2019-06-02 17:05:36.157226621 +0000 +@@ -1 +1 @@ +-4.0.2 ++4.0.2-p1 +diff -Naurd mpfr-4.0.2-a/src/mpfr-impl.h mpfr-4.0.2-b/src/mpfr-impl.h +--- mpfr-4.0.2-a/src/mpfr-impl.h 2019-01-27 18:30:16.000000000 +0000 ++++ mpfr-4.0.2-b/src/mpfr-impl.h 2019-06-02 17:05:36.145226719 +0000 +@@ -57,6 +57,7 @@ + + #include + #include ++#include /* for FLT_RADIX, etc., tested below */ + + + /****************************************************** +diff -Naurd mpfr-4.0.2-a/src/mpfr.h mpfr-4.0.2-b/src/mpfr.h +--- mpfr-4.0.2-a/src/mpfr.h 2019-01-31 20:29:48.000000000 +0000 ++++ mpfr-4.0.2-b/src/mpfr.h 2019-06-02 17:05:36.153226653 +0000 +@@ -27,7 +27,7 @@ + #define MPFR_VERSION_MAJOR 4 + #define MPFR_VERSION_MINOR 0 + #define MPFR_VERSION_PATCHLEVEL 2 +-#define MPFR_VERSION_STRING "4.0.2" ++#define MPFR_VERSION_STRING "4.0.2-p1" + + /* User macros: + MPFR_USE_FILE: Define it to make MPFR define functions dealing +diff -Naurd mpfr-4.0.2-a/src/version.c mpfr-4.0.2-b/src/version.c +--- mpfr-4.0.2-a/src/version.c 2019-01-31 20:29:48.000000000 +0000 ++++ mpfr-4.0.2-b/src/version.c 2019-06-02 17:05:36.153226653 +0000 +@@ -25,5 +25,5 @@ + const char * + mpfr_get_version (void) + { +- return "4.0.2"; ++ return "4.0.2-p1"; + } + diff --git a/system/devel/mpfr/pspec.xml b/system/devel/mpfr/pspec.xml index f32e55a1..c9e86f35 100644 --- a/system/devel/mpfr/pspec.xml +++ b/system/devel/mpfr/pspec.xml @@ -13,10 +13,13 @@ library Multiple precision floating point library The MPFR library is a C library for multiple-precision floating-point computations with exact rounding (also called correct rounding). It is based on the GMP multiple-precision library. - https://ftp.gnu.org/gnu/mpfr/mpfr-3.1.5.tar.xz + https://ftp.gnu.org/gnu/mpfr/mpfr-4.0.2.tar.xz gmp-devel + + mpfr-4.0.2-p1.patch + @@ -45,6 +48,13 @@ + + 2019-10-01 + 4.0.2_p1 + Version bump + Idris Kalp + idriskalp@gmail.com + 2018-07-17 3.1.5 From 8f5f322d89534d1891a5f46999992ae06dea5bd4 Mon Sep 17 00:00:00 2001 From: IdrisKalp Date: Wed, 11 Dec 2019 02:12:27 +0300 Subject: [PATCH 2/2] gmp rebuild --- system/devel/gmp/pspec.xml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/system/devel/gmp/pspec.xml b/system/devel/gmp/pspec.xml index 6b2ef75f..4b508768 100644 --- a/system/devel/gmp/pspec.xml +++ b/system/devel/gmp/pspec.xml @@ -56,6 +56,13 @@ + + 2019-12-11 + 6.1.2 + Rebuild + Idris Kalp + idriskalp@gmail.com + 2018-07-20 6.1.2