git: 90030e73f1a7 - main - devel/raknet: force use of gcc 11

From: Ganael LAPLANCHE <martymac_at_FreeBSD.org>
Date: Thu, 08 Sep 2022 10:42:58 UTC
The branch main has been updated by martymac:

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

commit 90030e73f1a76b6d33c68938daa529256313be3b
Author:     Ganael LAPLANCHE <martymac@FreeBSD.org>
AuthorDate: 2022-09-08 10:38:55 +0000
Commit:     Ganael LAPLANCHE <martymac@FreeBSD.org>
CommitDate: 2022-09-08 10:42:22 +0000

    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
---
 devel/raknet/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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)