Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Jul 2023 02:50:21 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: e82fb2169c34 - main - math/couenne: Fix build on 14 by adding c++11
Message-ID:  <202307080250.3682oLIU099278@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e82fb2169c34264137b3a68b17b44cffa88d09cd

commit e82fb2169c34264137b3a68b17b44cffa88d09cd
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-07-08 01:20:14 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-07-08 01:20:14 +0000

    math/couenne: Fix build on 14 by adding c++11
    
    Reported by:    fallout
---
 math/couenne/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/math/couenne/Makefile b/math/couenne/Makefile
index ce4d9c5c1491..5f66656c329c 100644
--- a/math/couenne/Makefile
+++ b/math/couenne/Makefile
@@ -25,6 +25,7 @@ LIB_DEPENDS=	libbonmin.so:math/bonmin \
 
 USES=		blaslapack:netlib fortran gmake libtool pkgconfig
 USE_LDCONFIG=	yes
+USE_CXXSTD=	c++11 # fix compilation failure: error: ISO C++17 does not allow 'register' storage class specifier, see https://github.com/coin-or/Couenne/issues/75
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	coin-or



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307080250.3682oLIU099278>