git: 377174bb0ba7 - 2023Q3 - devel/codeblocks: fix build with recent clang
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 30 Jul 2023 23:02:06 UTC
The branch 2023Q3 has been updated by fuz:
URL: https://cgit.FreeBSD.org/ports/commit/?id=377174bb0ba73be18dc3d4a08e4508f4e8bb73e9
commit 377174bb0ba73be18dc3d4a08e4508f4e8bb73e9
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 23:01:41 +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
(cherry picked from commit c2bade1b964baa45b4eb2829f40f663048057e2c)
---
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