View | Details | Raw Unified | Return to bug 265483
Collapse All | Expand All

(-)b/math/linbox/Makefile (-1 / +3 lines)
Lines 2-10 Link Here
2
2
3
PORTNAME=	linbox
3
PORTNAME=	linbox
4
PORTVERSION=	1.6.3
4
PORTVERSION=	1.6.3
5
PORTREVISION=	9
5
PORTREVISION=	10
6
DISTVERSIONPREFIX=	v
6
DISTVERSIONPREFIX=	v
7
CATEGORIES=	math
7
CATEGORIES=	math
8
PATCH_SITES=	https://github.com/linbox-team/linbox/commit/
9
PATCHFILES=	b79fb13522fceef79e291922ca9c7af0a09b65ae.diff:-p1
8
10
9
MAINTAINER=	thierry@FreeBSD.org
11
MAINTAINER=	thierry@FreeBSD.org
10
COMMENT=	C++ library for exact, high-performance linear algebra
12
COMMENT=	C++ library for exact, high-performance linear algebra
(-)b/math/linbox/distinfo (-1 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1588262204
1
TIMESTAMP = 1658981912
2
SHA256 (linbox-team-linbox-v1.6.3_GH0.tar.gz) = ad3867b75b13c139ad30ccb9ade68a0a9c158ca99deb69d81cce1646f58e3b5e
2
SHA256 (linbox-team-linbox-v1.6.3_GH0.tar.gz) = ad3867b75b13c139ad30ccb9ade68a0a9c158ca99deb69d81cce1646f58e3b5e
3
SIZE (linbox-team-linbox-v1.6.3_GH0.tar.gz) = 2311437
3
SIZE (linbox-team-linbox-v1.6.3_GH0.tar.gz) = 2311437
4
SHA256 (b79fb13522fceef79e291922ca9c7af0a09b65ae.diff) = 12f65fda0d4dd6dde4c0b077719cd2596a3ce70a23f7754cbe26bde3847a4822
5
SIZE (b79fb13522fceef79e291922ca9c7af0a09b65ae.diff) = 5144
(-)b/math/linbox/files/patch-linbox_randiter_ntl-zz.h (+11 lines)
Added Link Here
1
--- linbox/randiter/ntl-zz.h.orig	2022-07-28 02:25:12 UTC
2
+++ linbox/randiter/ntl-zz.h
3
@@ -44,7 +44,7 @@ namespace LinBox
4
 
5
 			_size = NTL::to_ZZ(std::string(size).data());
6
 
7
-			if (seed == integer(0)) NTL::SetSeed (NTL::to_ZZ(time(NULL)));
8
+			if (seed == integer(0)) NTL::SetSeed (NTL::to_ZZ(static_cast<long>(time(NULL))));
9
 
10
 			else NTL::SetSeed(NTL::to_ZZ(std::string(seed).data()));
11
 		}
(-)b/math/linbox/files/patch-linbox_ring_ntl_ntl-gf2e.h (+20 lines)
Added Link Here
1
--- linbox/ring/ntl/ntl-gf2e.h.orig	2022-07-28 02:52:14 UTC
2
+++ linbox/ring/ntl/ntl-gf2e.h
3
@@ -211,7 +211,7 @@ public :
4
                 _size(size), _seed(seed)
5
             {
6
                 if(_seed == 0)
7
-                    NTL::SetSeed(NTL::to_ZZ(time(0)));
8
+                    NTL::SetSeed(NTL::to_ZZ(static_cast<long unsigned int>(time(0))));
9
                 else
10
                     NTL::SetSeed(NTL::to_ZZ(static_cast<long unsigned int>(_seed)));
11
             }
12
@@ -221,7 +221,7 @@ public :
13
 
14
             {
15
                 if(_seed == 0)
16
-                    NTL::SetSeed(NTL::to_ZZ(time(0)));
17
+                    NTL::SetSeed(NTL::to_ZZ(static_cast<long unsigned int>(time(0))));
18
                 else
19
                     NTL::SetSeed(NTL::to_ZZ(static_cast<long unsigned int>(_seed)));
20
             }
(-)b/math/linbox/files/patch-linbox_ring_ntl_ntl-lzz__pe.h (+20 lines)
Added Link Here
1
--- linbox/ring/ntl/ntl-lzz_pe.h.orig	2022-07-28 02:52:14 UTC
2
+++ linbox/ring/ntl/ntl-lzz_pe.h
3
@@ -400,7 +400,7 @@ namespace LinBox
4
                 _size(size), _seed(seed), _ring(F)
5
             {
6
                 if(_seed == 0)
7
-                    NTL::SetSeed(NTL::to_ZZ(time(0)));
8
+                    NTL::SetSeed(NTL::to_ZZ(static_cast<long unsigned int>(time(0))));
9
                 else
10
                     NTL::SetSeed(NTL::to_ZZ(static_cast<long unsigned int>(_seed)));
11
             }
12
@@ -411,7 +411,7 @@ namespace LinBox
13
 
14
             {
15
                 if(_seed == 0)
16
-                    NTL::SetSeed(NTL::to_ZZ(time(0)));
17
+                    NTL::SetSeed(NTL::to_ZZ(static_cast<long unsigned int>(time(0))));
18
                 else
19
                     NTL::SetSeed(NTL::to_ZZ(static_cast<long unsigned int>(_seed)));
20
             }
(-)b/math/linbox/files/patch-linbox_ring_ntl_ntl-lzz__pex.h (+20 lines)
Added Link Here
1
--- linbox/ring/ntl/ntl-lzz_pex.h.orig	2022-07-28 02:52:14 UTC
2
+++ linbox/ring/ntl/ntl-lzz_pex.h
3
@@ -533,7 +533,7 @@ namespace LinBox
4
                 _size(size), _seed(seed), _ring(F)
5
             {
6
                 if(_seed == 0)
7
-                    NTL::SetSeed(NTL::to_ZZ(time(0)));
8
+                    NTL::SetSeed(NTL::to_ZZ(static_cast<long unsigned int>(time(0))));
9
                 else
10
                     NTL::SetSeed(NTL::to_ZZ(static_cast<long unsigned int>(_seed)));
11
             }
12
@@ -545,7 +545,7 @@ namespace LinBox
13
 
14
             {
15
                 if(_seed == 0)
16
-                    NTL::SetSeed(NTL::to_ZZ(time(0)));
17
+                    NTL::SetSeed(NTL::to_ZZ(static_cast<long unsigned int>(time(0))));
18
                 else
19
                     NTL::SetSeed(NTL::to_ZZ(static_cast<long unsigned int>(_seed)));
20
             }
(-)b/math/linbox/files/patch-linbox_ring_ntl_ntl-lzz__px.h (+20 lines)
Added Link Here
1
--- linbox/ring/ntl/ntl-lzz_px.h.orig	2022-07-28 02:52:14 UTC
2
+++ linbox/ring/ntl/ntl-lzz_px.h
3
@@ -587,7 +587,7 @@ namespace LinBox
4
                 _size(size), _seed(seed), _ring(F)
5
 		{
6
 			if(_seed == 0)
7
-				NTL::SetSeed(NTL::to_ZZ(time(0)));
8
+				NTL::SetSeed(NTL::to_ZZ(static_cast<long unsigned int>(time(0))));
9
 			else
10
 				NTL::SetSeed(NTL::to_ZZ(static_cast<long unsigned int>(_seed)));
11
 		}
12
@@ -598,7 +598,7 @@ namespace LinBox
13
 
14
 		{
15
 			if(_seed == 0)
16
-				NTL::SetSeed(NTL::to_ZZ(time(0)));
17
+				NTL::SetSeed(NTL::to_ZZ(static_cast<long unsigned int>(time(0))));
18
 			else
19
 				NTL::SetSeed(NTL::to_ZZ(static_cast<long unsigned int>(_seed)));
20
 		}
(-)b/math/linbox/files/patch-linbox_ring_ntl_ntl-zz__pe.h (-1 / +20 lines)
Added Link Here
0
- 
1
--- linbox/ring/ntl/ntl-zz_pe.h.orig	2022-07-28 02:52:14 UTC
2
+++ linbox/ring/ntl/ntl-zz_pe.h
3
@@ -385,7 +385,7 @@ namespace LinBox
4
                 _size(size), _seed(seed), _ring(F)
5
 		{
6
 			if(_seed == 0)
7
-				NTL::SetSeed(NTL::to_ZZ(time(0)));
8
+				NTL::SetSeed(NTL::to_ZZ(static_cast<long>(time(0))));
9
 			else {
10
 				NTL::ZZ x;
11
 				std::stringstream s;
12
@@ -414,7 +414,7 @@ namespace LinBox
13
 
14
 		{
15
 			if(_seed == 0)
16
-				NTL::SetSeed(NTL::to_ZZ(time(0)));
17
+				NTL::SetSeed(NTL::to_ZZ( static_cast<long>(time(0))));
18
 			else
19
 				NTL::SetSeed(NTL::to_ZZ( static_cast<long>(_seed)) );
20
 		}

Return to bug 265483