git: 664770a1391b - main - lang/gcc48: try to unbreak the port's build on recent -CURRENT
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 11 Jul 2023 10:56:09 UTC
The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=664770a1391b796cfbf875577ab52651c45a0b2a commit 664770a1391b796cfbf875577ab52651c45a0b2a Author: Alexey Dokuchaev <danfe@FreeBSD.org> AuthorDate: 2023-07-11 10:54:56 +0000 Commit: Alexey Dokuchaev <danfe@FreeBSD.org> CommitDate: 2023-07-11 10:54:56 +0000 lang/gcc48: try to unbreak the port's build on recent -CURRENT Pacify system compiler which is used during the initial bootstrap and got overly strict with the latest update. Reported by: pkg-fallout Discussed with: jhb Differential Revision: https://reviews.freebsd.org/D40941 --- lang/gcc48/files/patch-gcc_configure | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/lang/gcc48/files/patch-gcc_configure b/lang/gcc48/files/patch-gcc_configure new file mode 100644 index 000000000000..7515f80c0c36 --- /dev/null +++ b/lang/gcc48/files/patch-gcc_configure @@ -0,0 +1,11 @@ +--- gcc/configure.orig 2014-12-08 11:29:43 UTC ++++ gcc/configure +@@ -6408,7 +6408,7 @@ fi + + loose_warn= + save_CFLAGS="$CFLAGS" +-for real_option in -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual; do ++for real_option in -W -Wall -Wno-increment-bool -Wno-narrowing -Wno-register -Wwrite-strings -Wcast-qual; do + # Do the check with the no- prefix removed since gcc silently + # accepts any -Wno-* option on purpose + case $real_option in