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

(-)math/givaro/Makefile (+1 lines)
Lines 3-8 Link Here
3
PORTNAME=	givaro
3
PORTNAME=	givaro
4
PORTVERSION=	4.1.1
4
PORTVERSION=	4.1.1
5
DISTVERSIONPREFIX=v
5
DISTVERSIONPREFIX=v
6
PORTREVISION=	1
6
CATEGORIES=	math
7
CATEGORIES=	math
7
8
8
MAINTAINER=	pi@FreeBSD.org
9
MAINTAINER=	pi@FreeBSD.org
(-)math/givaro/files/patch-configure.ac (-2 / +2 lines)
Lines 1-6 Link Here
1
--- configure.ac.orig	2017-11-23 13:32:58 UTC
1
--- configure.ac.orig	2019-06-07 13:23:45 UTC
2
+++ configure.ac
2
+++ configure.ac
3
@@ -52,11 +52,7 @@ AC_COMPILER_NAME
3
@@ -49,11 +49,7 @@ AC_COMPILER_NAME
4
 
4
 
5
 # We need a C++11 compiler now - AB 2014-12-12
5
 # We need a C++11 compiler now - AB 2014-12-12
6
 # clang-3.8 does not support __float128 without explicitly passing it -std=c++11
6
 # clang-3.8 does not support __float128 without explicitly passing it -std=c++11
(-)math/givaro/files/patch-src_kernel_gmp++_gmp++__int.h (+10 lines)
Line 0 Link Here
1
--- src/kernel/gmp++/gmp++_int.h.orig	2019-06-07 13:23:45 UTC
2
+++ src/kernel/gmp++/gmp++_int.h
3
@@ -234,6 +234,7 @@ namespace Givaro {
4
          */
5
         ///@{
6
         giv_all_inlined Integer& operator = (const Integer& n);
7
+        giv_all_inlined Integer& operator = (const Integer& n) const;
8
         giv_all_inlined Integer& logcpy(const Integer& n);
9
         giv_all_inlined Integer& copy(const Integer& n);
10
         ///@}
(-)math/givaro/files/patch-src_kernel_gmp++_gmp++__int__cstor.C (+14 lines)
Line 0 Link Here
1
--- src/kernel/gmp++/gmp++_int_cstor.C.orig	2019-06-07 13:23:45 UTC
2
+++ src/kernel/gmp++/gmp++_int_cstor.C
3
@@ -105,6 +105,11 @@ namespace Givaro {
4
         return logcpy(n) ;
5
     }
6
 
7
+    Integer& Integer::operator = (const Integer &n) const
8
+    {
9
+        return const_cast<Integer*>(this)->logcpy(n) ;
10
+    }
11
+
12
 
13
     Integer& Integer::copy(const Integer &n)
14
     {

Return to bug 247537