From 7b5e154ccdeb83afdc9cf55225616d51a01a62cb Mon Sep 17 00:00:00 2001 From: Kazuyoshi Furutaka Date: Tue, 25 Nov 2025 17:05:29 +0900 Subject: [PATCH] =?UTF-8?q?gfortran=20to=20avoid=20"'-Wno-multichar'=20is?= =?UTF-8?q?=20valid=20for=20C/C++/ObjC/ObjC++=20bu=E2=80=A6=20(#13250)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gfortran to avoid "'-Wno-multichar' is valid for C/C++/ObjC/ObjC++ but not for fortran" * Bump up the REVISION of sys-devel/gcc/gcc-13.3.0_2023_08_10.recipe --- sys-devel/gcc/gcc-13.3.0_2023_08_10.recipe | 2 +- sys-devel/gcc/patches/gcc-13.3.0_2023_08_10.patchset | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-devel/gcc/gcc-13.3.0_2023_08_10.recipe b/sys-devel/gcc/gcc-13.3.0_2023_08_10.recipe index be2847df7..fe87a2047 100644 --- a/sys-devel/gcc/gcc-13.3.0_2023_08_10.recipe +++ b/sys-devel/gcc/gcc-13.3.0_2023_08_10.recipe @@ -5,7 +5,7 @@ HOMEPAGE="https://gcc.gnu.org/" COPYRIGHT="1988-2023 Free Software Foundation, Inc." LICENSE="GNU GPL v3 GNU LGPL v3" -REVISION="5" +REVISION="6" gccVersion="${portVersion%%_*}" SOURCE_URI="https://ftpmirror.gnu.org/gcc/gcc-$gccVersion/gcc-$gccVersion.tar.xz https://ftp.gnu.org/gnu/gcc/gcc-$gccVersion/gcc-$gccVersion.tar.xz" diff --git a/sys-devel/gcc/patches/gcc-13.3.0_2023_08_10.patchset b/sys-devel/gcc/patches/gcc-13.3.0_2023_08_10.patchset index d80a96028..6cfb44180 100644 --- a/sys-devel/gcc/patches/gcc-13.3.0_2023_08_10.patchset +++ b/sys-devel/gcc/patches/gcc-13.3.0_2023_08_10.patchset @@ -5261,7 +5261,7 @@ index 0000000..88adc25 + registers, and the performance impact is too high. */ +#define HAIKU_CC1_SPEC \ + "%{fpic|fPIC|fpie|fPIE|fno-pic|fno-PIC|fno-pie|fno-PIE:;:-fPIC} \ -+ %{!Wmultichar: -Wno-multichar} %(cc1_cpu) %{profile:-p}" ++ %{!,f95:%{!,f77:%{!,f95-cpp-input:%{!,f77-cpp-input:%{!Wmultichar: -Wno-multichar}}}}} %(cc1_cpu) %{profile:-p}" +#undef CC1_SPEC +#define CC1_SPEC \ + HAIKU_CC1_SPEC " %{!fomit-frame-pointer: -fno-omit-frame-pointer}"