FreeBSD Bugzilla – Attachment 244775 Details for
Bug 273682
graphics/rawtherapee: Fails to build with GCC 13: error: expected identifier before '__is_convertible'
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
prototypical patch to remove GCC dependency from rawtherapee
0001-graphics-rawtherapee-drop-USE_GCC.patch (text/plain), 2.23 KB, created by
Matthias Andree
on 2023-09-11 19:29:02 UTC
(
hide
)
Description:
prototypical patch to remove GCC dependency from rawtherapee
Filename:
MIME Type:
Creator:
Matthias Andree
Created:
2023-09-11 19:29:02 UTC
Size:
2.23 KB
patch
obsolete
>From 898f54d6e93df0baf7a14b585e992f7f2f78b8e3 Mon Sep 17 00:00:00 2001 >From: Matthias Andree <mandree@FreeBSD.org> >Date: Mon, 11 Sep 2023 21:07:14 +0200 >Subject: [PATCH] graphics/rawtherapee: drop USE_GCC... > >...to unblock the GCC-13-as-default upgrade. > >PR: 273682 >Reported by: salvadore@ >--- > graphics/rawtherapee/Makefile | 21 ++++----------------- > 1 file changed, 4 insertions(+), 17 deletions(-) > >diff --git a/graphics/rawtherapee/Makefile b/graphics/rawtherapee/Makefile >index 10d89e4bf4fc..b6c4b7731919 100644 >--- a/graphics/rawtherapee/Makefile >+++ b/graphics/rawtherapee/Makefile >@@ -1,6 +1,6 @@ > PORTNAME= rawtherapee > PORTVERSION= 5.9 >-PORTREVISION= 3 >+PORTREVISION= 4 > CATEGORIES= graphics > MASTER_SITES= https://rawtherapee.com/shared/source/ \ > LOCAL/mandree/ >@@ -25,27 +25,15 @@ LIB_DEPENDS= \ > libsigc-2.0.so:devel/libsigc++20 \ > libtiff.so:graphics/tiff > >-USES= cmake desktop-file-utils compiler:gcc-c++11-lib gnome \ >+USES= cmake desktop-file-utils compiler:c++11-lang gnome \ > jpeg localbase:ldflags pkgconfig tar:xz > > # Binutils required for LTO (base ar/nm/ld/ranlib don't work) > USE_BINUTILS= yes > >-# As of 2019-09-29, this port is known to be miscompiled by clang90 >-# (SIGSEGV or SIBGUS). >-# So we shall stick to a modern GCC for now, >-# XXX FIXME note that rawtherapee is somewhat sensitive >-# versus compiler details so we may need to pin GCC 9.x >-# or a version range. >-USE_GCC= yes >- > USE_GNOME= gtkmm30 librsvg2 > >-_LTO_FLAGS= -flto=${MAKE_JOBS_NUMBER} >-# gcc needs -flto=${MAKE_JOBS_NUMBER} for parallel link (fixed in GCC 10?) >-# and does not understand -flto=thin >-# >-# llvm/clang needs -flto=thin and will automatically parallelize the link >+_LTO_FLAGS= -flto=thin > > # Fix <https://bugs.freebsd.org/251041>: > # 11.x has binutils that don't accept a --plugin option, >@@ -64,9 +52,8 @@ CMAKE_ARGS+= -DDOCDIR="${DOCSDIR}" \ > -DDATADIR="${DATADIR}" \ > -DCACHE_NAME_SUFFIX="" \ > -Wno-dev \ >- -DCMAKE_AR:FILEPATH=${_AR} \ >- -DCMAKE_RANLIB:FILEPATH=${_RANLIB} \ > -DCMAKE_POLICY_DEFAULT_CMP0056:STRING=NEW >+ > # 3.4.x: CMAKE_EXE_LINKER_FLAGS is not passed to TRY_COMPILE by default > # any more. The CMP0056 policy must be explicitly set to NEW to ensure > # linker flags are passed. Else -lomp is not found with clang. >-- >2.42.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 273682
:
244775