summaryrefslogtreecommitdiffstats
path: root/source/y
diff options
context:
space:
mode:
Diffstat (limited to 'source/y')
-rwxr-xr-xsource/y/bsd-games/bsd-games.SlackBuild3
-rw-r--r--source/y/bsd-games/patches/bsd-games.gcc14.diff11
-rwxr-xr-xsource/y/nethack/nethack.SlackBuild2
3 files changed, 14 insertions, 2 deletions
diff --git a/source/y/bsd-games/bsd-games.SlackBuild b/source/y/bsd-games/bsd-games.SlackBuild
index 282c92927..d4d87b2a5 100755
--- a/source/y/bsd-games/bsd-games.SlackBuild
+++ b/source/y/bsd-games/bsd-games.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=bsd-games
VERSION=${VERSION:-2.17}
-BUILD=${BUILD:-4}
+BUILD=${BUILD:-5}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -74,6 +74,7 @@ zcat $CWD/patches/0016-Better-explanation-how-to-read-the-documentation.patch.gz
zcat $CWD/patches/0017-hack-Fix-segv-when-i-inventory-done-after-load-from-.patch.gz | patch -p1 --backup --suffix=.orig --verbose || exit 1
zcat $CWD/patches/bsd-games.factor.no.ubig.diff.gz | patch -p1 --backup --suffix=.orig --verbose || exit 1
zcat $CWD/patches/bsd-games.fortunepath.diff.gz | patch -p1 --backup --suffix=.orig --verbose || exit 1
+zcat $CWD/patches/bsd-games.gcc14.diff.gz | patch -p1 --backup --suffix=.orig --verbose || exit 1
./configure || exit 1
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
diff --git a/source/y/nethack/nethack.SlackBuild b/source/y/nethack/nethack.SlackBuild
index d4ec99843..784327a6e 100755
--- a/source/y/nethack/nethack.SlackBuild
+++ b/source/y/nethack/nethack.SlackBuild
@@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=nethack
VERSION=3.6.7
SRCVER=367
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then