summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Clausecker <fuz@FreeBSD.org>2025-05-24 12:18:26 +0200
committerRobert Clausecker <fuz@FreeBSD.org>2025-05-25 02:47:05 +0200
commita34db00ea37bde8367f0ddd2af79b7ade21cbc5e (patch)
treef5a7888d1d166e54e720b09f23dcfb4f190350a6
parentmath/slatec: fix build on armv7 (diff)
games/nlarn: exorcise -Werror
This fixes the build, which previously failed due to some warnings. Approved by: portmgr (build fix blanket) MFH: 2025Q2
-rw-r--r--games/nlarn/files/patch-Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/games/nlarn/files/patch-Makefile b/games/nlarn/files/patch-Makefile
index decaab43299a..f0b3412668e4 100644
--- a/games/nlarn/files/patch-Makefile
+++ b/games/nlarn/files/patch-Makefile
@@ -1,6 +1,15 @@
--- Makefile.orig 2020-05-23 06:13:27 UTC
+++ Makefile
-@@ -104,7 +104,7 @@ LDFLAGS += $(shell pkg-config --libs glib-2.0)
+@@ -57,7 +57,7 @@ DEFINES += -DG_DISABLE_DEPRECATED
+
+ # Definitions required regardless of host OS
+ DEFINES += -DG_DISABLE_DEPRECATED
+-CFLAGS += -std=c99 -Wall -Wextra -Werror -Iinc -Iinc/external
++CFLAGS += -std=c99 -Wall -Wextra -Iinc -Iinc/external
+ LDFLAGS += -lz -lm
+
+ ifneq (,$(findstring MINGW, $(MSYSTEM)))
+@@ -104,7 +104,7 @@ ifneq ($(SDLPDCURSES),Y)
# Unless requested otherwise build with curses.
ifneq ($(SDLPDCURSES),Y)