Return to gcc4 to prevent abort on initialization on clang archs.
Ref: https://marc.info/?l=openbsd-ports&m=150815081112094&w=2
Fix tested on -current and -stable on amd64. Patches for both
attached.
Index: Makefile
===================================================================
RCS file: /systems/cvs/ports/devel/codeblocks/Makefile,v
retrieving revision 1.41
diff -u -p -r1.41 Makefile
--- Makefile 26 Jul 2017 22:45:17 -0000 1.41
+++ Makefile 16 Oct 2017 21:03:13 -0000
@@ -7,7 +7,7 @@ COMMENT= Code::Blocks C/C++ IDE
V= 16.01
DISTNAME= codeblocks_${V}
PKGNAME= codeblocks-${V}
-REVISION= 2
+REVISION= 3
WRKDIST= ${WRKDIR}/codeblocks-${V}.release
@@ -61,7 +61,7 @@ RUN_DEPENDS= devel/desktop-file-utils \
x11/gtk+3,-guic
# XXX <command-line>:0: internal compiler error: Segmentation fault
-COMPILER = gcc
+COMPILER = ports-gcc
AUTOCONF_VERSION= 2.69
AUTOMAKE_VERSION= 1.15
? devel.codeblocks.stable.patch
Index: Makefile
===================================================================
RCS file: /systems/cvs/ports/devel/codeblocks/Makefile,v
retrieving revision 1.41
diff -u -p -r1.41 Makefile
--- Makefile 26 Jul 2017 22:45:17 -0000 1.41
+++ Makefile 17 Oct 2017 00:41:07 -0000
@@ -7,7 +7,7 @@ COMMENT= Code::Blocks C/C++ IDE
V= 16.01
DISTNAME= codeblocks_${V}
PKGNAME= codeblocks-${V}
-REVISION= 2
+REVISION= 3
WRKDIST= ${WRKDIR}/codeblocks-${V}.release
@@ -61,7 +61,7 @@ RUN_DEPENDS= devel/desktop-file-utils \
x11/gtk+3,-guic
# XXX <command-line>:0: internal compiler error: Segmentation fault
-COMPILER = gcc
+COMPILER = ports-gcc
AUTOCONF_VERSION= 2.69
AUTOMAKE_VERSION= 1.15