Merge pull request #949 from IdrisKalp/master

mpfr && gmp
This commit is contained in:
Idris Kalp
2019-12-11 02:13:09 +03:00
committed by GitHub
4 changed files with 65 additions and 1 deletions
+7
View File
@@ -56,6 +56,13 @@
</Package>
<History>
<Update release="6">
<Date>2019-12-11</Date>
<Version>6.1.2</Version>
<Comment>Rebuild</Comment>
<Name>Idris Kalp</Name>
<Email>idriskalp@gmail.com</Email>
</Update>
<Update release="5">
<Date>2018-07-20</Date>
<Version>6.1.2</Version>
+2
View File
@@ -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")
+45
View File
@@ -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 <stdlib.h>
#include <limits.h>
+#include <float.h> /* 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";
}
+11 -1
View File
@@ -13,10 +13,13 @@
<IsA>library</IsA>
<Summary>Multiple precision floating point library</Summary>
<Description>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.</Description>
<Archive sha1sum="c0fab77c6da4cb710c81cc04092fb9bea11a9403" type="tarxz">https://ftp.gnu.org/gnu/mpfr/mpfr-3.1.5.tar.xz</Archive>
<Archive sha1sum="52c1f2a4c9a202f46cf3275a8d46b562aa584208" type="tarxz">https://ftp.gnu.org/gnu/mpfr/mpfr-4.0.2.tar.xz</Archive>
<BuildDependencies>
<Dependency>gmp-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">mpfr-4.0.2-p1.patch</Patch>
</Patches>
</Source>
<Package>
@@ -45,6 +48,13 @@
</Package>
<History>
<Update release="6">
<Date>2019-10-01</Date>
<Version>4.0.2_p1</Version>
<Comment>Version bump</Comment>
<Name>Idris Kalp</Name>
<Email>idriskalp@gmail.com</Email>
</Update>
<Update release="5">
<Date>2018-07-17</Date>
<Version>3.1.5</Version>