git: 3aaa6f4874ae - main - graphics/rawtherapee: Revert "pin GCC version to 13."

From: Matthias Andree <mandree_at_FreeBSD.org>
Date: Fri, 31 Jan 2025 23:53:10 UTC
The branch main has been updated by mandree:

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

commit 3aaa6f4874aec6faa1f51dce405cfaf430bbc9c1
Author:     Matthias Andree <mandree@FreeBSD.org>
AuthorDate: 2025-01-31 23:49:21 +0000
Commit:     Matthias Andree <mandree@FreeBSD.org>
CommitDate: 2025-01-31 23:52:59 +0000

    graphics/rawtherapee: Revert "pin GCC version to 13."
    
    This reverts commit 7c091b1abc84f4246e557aaf7d04d111e4db9b8f.
    
    Reason I am reverting this is that I can set USE_GCC=14 and
    happily compile, without or with LTO and/or native.
    
    My conclusion is that rawtherapee is doing its things right,
    but one of its libraries gets compiled for libstdc++, and pollutes
    rawtherapee's program space but we don't give rawtherapee libstdc++
    but libc++ on systems where the default compiler uses the latter.
    
    PR:             284487
---
 graphics/rawtherapee/Makefile | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/graphics/rawtherapee/Makefile b/graphics/rawtherapee/Makefile
index f9119609bf02..58d98dd32baa 100644
--- a/graphics/rawtherapee/Makefile
+++ b/graphics/rawtherapee/Makefile
@@ -113,14 +113,7 @@ OPENMP_LDFLAGS=		-lm -lomp
 # up to twice as fast as clang-16.0 compiled code.
 # So we shall stick to a modern GCC for now.
 #
-# However, libstdc++14 appears to have some parts spill over into
-# GCC14, and that breaks at link time with a linker error
-#    `undefined reference to `__cxa_call_terminate'
-# that stems from our using the FreeBSD base system libc++
-# because otherwise all other C++ libraries would have to
-# be compiled with libstdc++ instead.
-# See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284487
-USE_GCC=	13 # default as of 2025-01-31
+USE_GCC=	yes # default
 
 .if (${OPSYS} == FreeBSD) && (${OSVERSION} >= 1500000)
 # don't waste everybody's time with Tier-2 and moving targets.