summaryrefslogtreecommitdiffstats
path: root/source/y/bsd-games/patches/bsd-games.gcc14.diff
diff options
context:
space:
mode:
Diffstat (limited to 'source/y/bsd-games/patches/bsd-games.gcc14.diff')
-rw-r--r--source/y/bsd-games/patches/bsd-games.gcc14.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/source/y/bsd-games/patches/bsd-games.gcc14.diff b/source/y/bsd-games/patches/bsd-games.gcc14.diff
new file mode 100644
index 000000000..644faa4d4
--- /dev/null
+++ b/source/y/bsd-games/patches/bsd-games.gcc14.diff
@@ -0,0 +1,11 @@
+--- ./configure.orig 2024-05-10 22:59:06.160719064 -0500
++++ ./configure 2024-05-10 23:00:09.194720474 -0500
+@@ -333,7 +333,7 @@
+ echo "The default warning flags should give a compile with few warnings."
+ # -Wbad-function-cast and -Wshadow give lots of warnings that are basically
+ # harmless.
+-ask "C compiler warning flags" warning_flags "-Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings"
++ask "C compiler warning flags" warning_flags "-Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -Wno-error=implicit-function-declaration"
+ if building_in dab; then
+ ask "C++ compiler warning flags" cxx_warning_flags "-Wall -W -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings"
+ fi