Revision: 25613 http://sourceforge.net/p/gar/code/25613 Author: dmichelsen Date: 2016-03-18 12:11:13 +0000 (Fri, 18 Mar 2016) Log Message: ----------- libgmp/trunk: Update to 6.1.0
Modified Paths: -------------- csw/mgar/pkg/libgmp/trunk/Makefile csw/mgar/pkg/libgmp/trunk/checksums Removed Paths: ------------- csw/mgar/pkg/libgmp/trunk/files/0001-Add-missing-cmath-includes.patch csw/mgar/pkg/libgmp/trunk/files/0002-Work-around-a-compilation-issue.patch Modified: csw/mgar/pkg/libgmp/trunk/Makefile =================================================================== --- csw/mgar/pkg/libgmp/trunk/Makefile 2016-03-18 08:51:49 UTC (rev 25612) +++ csw/mgar/pkg/libgmp/trunk/Makefile 2016-03-18 12:11:13 UTC (rev 25613) @@ -1,8 +1,8 @@ # $Id$ NAME = gmp -VERSION = 6.0.0 -SUBVERSION = a +VERSION = 6.1.0 +SUBVERSION = GARTYPE = v2 DESCRIPTION = GNU Multiple Precision Arithmetic Library Modified: csw/mgar/pkg/libgmp/trunk/checksums =================================================================== --- csw/mgar/pkg/libgmp/trunk/checksums 2016-03-18 08:51:49 UTC (rev 25612) +++ csw/mgar/pkg/libgmp/trunk/checksums 2016-03-18 12:11:13 UTC (rev 25613) @@ -1 +1 @@ -a8b0090b79291a54390356414264142c gmp-6.0.0a.tar.lz +63190f6c09449a16e6f96189527eed5a gmp-6.1.0.tar.lz Deleted: csw/mgar/pkg/libgmp/trunk/files/0001-Add-missing-cmath-includes.patch =================================================================== --- csw/mgar/pkg/libgmp/trunk/files/0001-Add-missing-cmath-includes.patch 2016-03-18 08:51:49 UTC (rev 25612) +++ csw/mgar/pkg/libgmp/trunk/files/0001-Add-missing-cmath-includes.patch 2016-03-18 12:11:13 UTC (rev 25613) @@ -1,51 +0,0 @@ -From 33d94be2354a45bf9981c9540f6fe2d23860e8bd Mon Sep 17 00:00:00 2001 -From: Maciej Blizinski <mac...@opencsw.org> -Date: Sun, 16 Mar 2014 23:02:52 +0100 -Subject: [PATCH] Add missing <cmath> includes - ---- - tests/cxx/t-constr.cc | 1 + - tests/cxx/t-ops2.cc | 2 +- - tests/cxx/t-ostream.cc | 1 + - 3 files changed, 3 insertions(+), 1 deletion(-) - -diff --git a/tests/cxx/t-constr.cc b/tests/cxx/t-constr.cc -index 261005d..936d742 100644 ---- a/tests/cxx/t-constr.cc -+++ b/tests/cxx/t-constr.cc -@@ -19,6 +19,7 @@ the GNU MP Library test suite. If not, see http://www.gnu.org/licenses/. */ - - #include "config.h" - -+#include <cmath> - #include <iostream> - #include <string> - -diff --git a/tests/cxx/t-ops2.cc b/tests/cxx/t-ops2.cc -index 3fc472b..c539881 100644 ---- a/tests/cxx/t-ops2.cc -+++ b/tests/cxx/t-ops2.cc -@@ -19,7 +19,7 @@ the GNU MP Library test suite. If not, see http://www.gnu.org/licenses/. */ - - #include "config.h" - --#include <math.h> -+#include <cmath> - - #include "gmp.h" - #include "gmpxx.h" -diff --git a/tests/cxx/t-ostream.cc b/tests/cxx/t-ostream.cc -index 9899f5f..decce1b 100644 ---- a/tests/cxx/t-ostream.cc -+++ b/tests/cxx/t-ostream.cc -@@ -17,6 +17,7 @@ Public License for more details. - You should have received a copy of the GNU General Public License along with - the GNU MP Library test suite. If not, see http://www.gnu.org/licenses/. */ - -+#include <cmath> - #include <iostream> - #include <cstdlib> - --- -1.7.10.3 - Deleted: csw/mgar/pkg/libgmp/trunk/files/0002-Work-around-a-compilation-issue.patch =================================================================== --- csw/mgar/pkg/libgmp/trunk/files/0002-Work-around-a-compilation-issue.patch 2016-03-18 08:51:49 UTC (rev 25612) +++ csw/mgar/pkg/libgmp/trunk/files/0002-Work-around-a-compilation-issue.patch 2016-03-18 12:11:13 UTC (rev 25613) @@ -1,88 +0,0 @@ -From d3f7cf3a349ef8623303c1b5aab79774856f29c4 Mon Sep 17 00:00:00 2001 -From: Maciej Blizinski <mac...@opencsw.org> -Date: Mon, 17 Mar 2014 23:19:30 +0100 -Subject: [PATCH] Work around a compilation issue - ---- - tests/cxx/t-ops2.cc | 41 ++++++++++++++++++++++++++++++++++------- - 1 file changed, 34 insertions(+), 7 deletions(-) - -diff --git a/tests/cxx/t-ops2.cc b/tests/cxx/t-ops2.cc -index 3fc472b..da76a32 100644 ---- a/tests/cxx/t-ops2.cc -+++ b/tests/cxx/t-ops2.cc -@@ -19,7 +19,7 @@ the GNU MP Library test suite. If not, see http://www.gnu.org/licenses/. */ - - #include "config.h" - --#include <math.h> -+#include <cmath> - - #include "gmp.h" - #include "gmpxx.h" -@@ -27,6 +27,7 @@ the GNU MP Library test suite. If not, see http://www.gnu.org/licenses/. */ - #include "tests.h" - - -+ - #define CHECK1(Type,a,fun) \ - ASSERT_ALWAYS(fun((Type)(a))==fun(a)) - #define CHECK(Type1,Type2,a,b,op) \ -@@ -183,22 +184,48 @@ void checkf (){ - ASSERT_ALWAYS(sqrt(mpf_class(0))==0); - // TODO: add some consistency checks, as described in - // http://gmplib.org/list-archives/gmp-bugs/2013-February/002940.html -- CHECK1(mpf_class,1.9,trunc); -+ -+ // I need to comment out the trunc() tests, because: -+ -+ // maciej@unstable9x [unstable9x]:~/src/opencsw/pkg/libgmp/trunk $ (cd /home/maciej/src/opencsw/pkg/libgmp/trunk/work/solaris9-i386/build-isa-pentium_pro/gmp-5.1.3/tests/cxx ; /opt/csw/bin/g++-4.6 -DHAVE_CONF -+ // IG_H -I. -I../.. -I../.. -I../../tests -fexceptions -I/opt/csw/include -O2 -pipe -m32 -march=pentiumpro -fexceptions -c -o t-ops2.o t-ops2.cc) -+ // t-ops2.cc: In function 'void checkf()': -+ // t-ops2.cc:187:3: error: no matching function for call to 'trunc(double)' -+ // t-ops2.cc:187:3: note: candidate is: -+ // ../../gmpxx.h:3091:1: note: template<class T, class U> __gmp_expr<T, __gmp_unary_expr<__gmp_expr<T, U>, __gmp_trunc_function> > trunc(const __gmp_expr<T, U>&) -+ // t-ops2.cc:190:3: error: no matching function for call to 'trunc(double)' -+ // t-ops2.cc:190:3: note: candidate is: -+ // ../../gmpxx.h:3091:1: note: template<class T, class U> __gmp_expr<T, __gmp_unary_expr<__gmp_expr<T, U>, __gmp_trunc_function> > trunc(const __gmp_expr<T, U>&) -+ // t-ops2.cc:193:3: error: no matching function for call to 'trunc(double)' -+ // t-ops2.cc:193:3: note: candidate is: -+ // ../../gmpxx.h:3091:1: note: template<class T, class U> __gmp_expr<T, __gmp_unary_expr<__gmp_expr<T, U>, __gmp_trunc_function> > trunc(const __gmp_expr<T, U>&) -+ // t-ops2.cc:196:3: error: no matching function for call to 'trunc(double)' -+ // t-ops2.cc:196:3: note: candidate is: -+ // ../../gmpxx.h:3091:1: note: template<class T, class U> __gmp_expr<T, __gmp_unary_expr<__gmp_expr<T, U>, __gmp_trunc_function> > trunc(const __gmp_expr<T, U>&) -+ // t-ops2.cc:199:3: error: no matching function for call to 'trunc(double)' -+ // t-ops2.cc:199:3: note: candidate is: -+ // ../../gmpxx.h:3091:1: note: template<class T, class U> __gmp_expr<T, __gmp_unary_expr<__gmp_expr<T, U>, __gmp_trunc_function> > trunc(const __gmp_expr<T, U>&) -+ // t-ops2.cc:202:3: error: no matching function for call to 'trunc(double)' -+ // t-ops2.cc:202:3: note: candidate is: -+ // ../../gmpxx.h:3091:1: note: template<class T, class U> __gmp_expr<T, __gmp_unary_expr<__gmp_expr<T, U>, __gmp_trunc_function> > trunc(const __gmp_expr<T, U>&) -+ -+ -+ // CHECK1(mpf_class,1.9,trunc); - CHECK1(mpf_class,1.9,floor); - CHECK1(mpf_class,1.9,ceil); -- CHECK1(mpf_class,4.3,trunc); -+ // CHECK1(mpf_class,4.3,trunc); - CHECK1(mpf_class,4.3,floor); - CHECK1(mpf_class,4.3,ceil); -- CHECK1(mpf_class,-7.1,trunc); -+ // CHECK1(mpf_class,-7.1,trunc); - CHECK1(mpf_class,-7.1,floor); - CHECK1(mpf_class,-7.1,ceil); -- CHECK1(mpf_class,-2.8,trunc); -+ // CHECK1(mpf_class,-2.8,trunc); - CHECK1(mpf_class,-2.8,floor); - CHECK1(mpf_class,-2.8,ceil); -- CHECK1(mpf_class,-1.5,trunc); -+ // CHECK1(mpf_class,-1.5,trunc); - CHECK1(mpf_class,-1.5,floor); - CHECK1(mpf_class,-1.5,ceil); -- CHECK1(mpf_class,2.5,trunc); -+ // CHECK1(mpf_class,2.5,trunc); - CHECK1(mpf_class,2.5,floor); - CHECK1(mpf_class,2.5,ceil); - ASSERT_ALWAYS(hypot(mpf_class(-3),mpf_class(4))>4.9); --- -1.7.10.3 - This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.