Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Jul 2023 22:59:40 GMT
From:      Robert Clausecker <fuz@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: c2bade1b964b - main - devel/codeblocks: fix build with recent clang
Message-ID:  <202307302259.36UMxeG9001221@gitrepo.freebsd.org>

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

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

commit c2bade1b964baa45b4eb2829f40f663048057e2c
Author:     Trond Endrestøl <Trond.Endrestol@ximalas.info>
AuthorDate: 2023-07-28 21:04:40 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-07-30 22:59:05 +0000

    devel/codeblocks: fix build with recent clang
    
    Port uses std::mem_fun which went away with C++17.  Enforce use of
    C++11 to fix the build.
    
    PR:             272782
    MFH:            2023Q3
---
 devel/codeblocks/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/devel/codeblocks/Makefile b/devel/codeblocks/Makefile
index 7264fa2e0ab0..a83c60698a70 100644
--- a/devel/codeblocks/Makefile
+++ b/devel/codeblocks/Makefile
@@ -21,6 +21,7 @@ LIB_DEPENDS=	libboost_system.so:devel/boost-libs \
 USES=		autoreconf compiler:c++11-lang desktop-file-utils \
 		fam:gamin gettext-runtime gnome libtool localbase \
 		pathfix pkgconfig shared-mime-info tar:xz xorg
+USE_CXXSTD=	c++11
 USE_WX=		3.0+
 USE_GNOME=	gtk30 cairo
 USE_XORG=	x11



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