Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jul 2023 01:40:41 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: e53ce1bfa382 - main - science/smoldyn: Fix build with clang-16 by adding USE_CXXSTD
Message-ID:  <202307170140.36H1eftu082765@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=e53ce1bfa382f6e1b063289a8e3d59fef704b76f

commit e53ce1bfa382f6e1b063289a8e3d59fef704b76f
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-07-17 01:40:07 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-07-17 01:40:07 +0000

    science/smoldyn: Fix build with clang-16 by adding USE_CXXSTD
    
    Reported by:    fallout
---
 science/smoldyn/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/science/smoldyn/Makefile b/science/smoldyn/Makefile
index e8590ea44dbb..d182ae6cc540 100644
--- a/science/smoldyn/Makefile
+++ b/science/smoldyn/Makefile
@@ -19,6 +19,7 @@ USES=		cmake:testing compiler:c++11-lang gl localbase:ldflags python:test tar:tg
 USE_GL=		gl glu glut
 USE_XORG=	xi xmu
 USE_LDCONFIG=	yes
+USE_CXXSTD=	c++14 # fix build broken by deprecated feature std::unary_function use, see https://github.com/ssandrews/Smoldyn/issues/135
 
 SHEBANG_GLOB=	*.py.in
 



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