Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Jul 2023 04:38:35 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: 05b8ada73498 - main - math/mpsolve: Fix build by adding USE_CXXSTD
Message-ID:  <202307090438.3694cZhe055090@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=05b8ada7349841ee2e2f67a0979081934436c65f

commit 05b8ada7349841ee2e2f67a0979081934436c65f
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-07-09 04:37:37 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-07-09 04:38:24 +0000

    math/mpsolve: Fix build by adding USE_CXXSTD
    
    Reported by:    fallout
---
 math/mpsolve/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/math/mpsolve/Makefile b/math/mpsolve/Makefile
index 5216c6906e6e..1a99c1d2e1a6 100644
--- a/math/mpsolve/Makefile
+++ b/math/mpsolve/Makefile
@@ -18,6 +18,7 @@ USES=		autoreconf:2.69 compiler:c++11-lang gettext-runtime gmake \
 		gnome libtool localbase pkgconfig shared-mime-info tar:bz2
 USE_GNOME=	atk cairo gdkpixbuf2 glib20 gtk30 pango
 USE_LDCONFIG=	yes
+USE_CXXSTD=	c++14 # fix compilation failure on 14: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
 
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--disable-static



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