aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGanael LAPLANCHE <martymac@FreeBSD.org>2022-09-08 10:38:55 +0000
committerGanael LAPLANCHE <martymac@FreeBSD.org>2022-09-08 10:42:22 +0000
commit90030e73f1a76b6d33c68938daa529256313be3b (patch)
treed1e62c88a94e0ee1e816d4939ce4f574ea935eae
parent714c67d3e8febbad4c1d73eb829a66058d20522d (diff)
devel/raknet: force use of gcc 11
Raknet does not build with gcc 12 because of missing c++ operators, this prevents GCC_DEFAULT bump to 12. As that port is old and un-maintained upstream, just force gcc 11 for now. PR: 266190 Reported by: salvadore
-rw-r--r--devel/raknet/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/devel/raknet/Makefile b/devel/raknet/Makefile
index 94c7b50facfc..2e0e7869c268 100644
--- a/devel/raknet/Makefile
+++ b/devel/raknet/Makefile
@@ -29,7 +29,9 @@ NO_WRKSUBDIR= yes
USES= dos2unix cmake:insource zip
USE_LDCONFIG= yes
-USE_GCC= yes
+# XXX Does not build with GCC 12
+# See: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266190
+USE_GCC= 11
DOS2UNIX_REGEX= .*\.(cpp|h|txt)