Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 May 2025 00:50:11 GMT
From:      Robert Clausecker <fuz@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: 00bf37045683 - 2025Q2 - games/nlarn: exorcise -Werror
Message-ID:  <202505250050.54P0oBal058357@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch 2025Q2 has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=00bf37045683d4ce5a286dfb6857da90d8eed84e

commit 00bf37045683d4ce5a286dfb6857da90d8eed84e
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2025-05-24 10:18:26 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2025-05-25 00:49:44 +0000

    games/nlarn: exorcise -Werror
    
    This fixes the build, which previously failed due to some warnings.
    
    Approved by:    portmgr (build fix blanket)
    MFH:            2025Q2
    
    (cherry picked from commit a34db00ea37bde8367f0ddd2af79b7ade21cbc5e)
---
 games/nlarn/files/patch-Makefile | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

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)


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202505250050.54P0oBal058357>