summaryrefslogtreecommitdiffstats
path: root/source/n/netdate
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/netdate')
-rwxr-xr-xsource/n/netdate/netdate.SlackBuild1
-rw-r--r--source/n/netdate/netdate.gcc14.diff11
2 files changed, 12 insertions, 0 deletions
diff --git a/source/n/netdate/netdate.SlackBuild b/source/n/netdate/netdate.SlackBuild
index b84d4d69a..16f6a7d93 100755
--- a/source/n/netdate/netdate.SlackBuild
+++ b/source/n/netdate/netdate.SlackBuild
@@ -56,6 +56,7 @@ cd netdate || exit 1
zcat $CWD/netdate.diff.gz | patch -p1 --backup || exit
zcat $CWD/netdate.diff2.gz | patch -p1 --backup || exit
+zcat $CWD/netdate.gcc14.diff.gz | patch -p1 --backup || exit
chown -R root:root .
find . \
diff --git a/source/n/netdate/netdate.gcc14.diff b/source/n/netdate/netdate.gcc14.diff
new file mode 100644
index 000000000..7478afb22
--- /dev/null
+++ b/source/n/netdate/netdate.gcc14.diff
@@ -0,0 +1,11 @@
+--- ./Makefile.orig 2024-05-11 13:17:31.232871231 -0500
++++ ./Makefile 2024-05-11 13:18:04.399871973 -0500
+@@ -3,7 +3,7 @@
+
+ WARNINGS=-Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual \
+ -Wstrict-prototypes -Wmissing-prototypes \
+- -Wmissing-declarations -Wnested-externs -Winline -Wcast-align
++ -Wmissing-declarations -Wnested-externs -Winline -Wcast-align -Wno-error=implicit-int
+
+ CFLAGS = -g $(WARNINGS)
+