Index | Thread | Search

From:
Claudio Jeker <cjeker@diehard.n-r-g.com>
Subject:
pterm, remove -Werror for gcc15
To:
Tim Meunier <trondd@kagu-tsuchi.com>
Cc:
ports@openbsd.org
Date:
Tue, 16 Dec 2025 16:55:27 +0100

Download raw body.

Thread
Another port that fails to build with ports-gcc because of -Werror.
There is no point in trying to compile ports with -Wall -Werror since
the next error is just around the corner with a new compiler version.

-- 
:wq Claudio

Index: patches/patch-Makefile_common
===================================================================
RCS file: patches/patch-Makefile_common
diff -N patches/patch-Makefile_common
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ patches/patch-Makefile_common	15 Dec 2025 12:53:30 -0000
@@ -0,0 +1,12 @@
+Index: Makefile.common
+--- Makefile.common.orig
++++ Makefile.common
+@@ -42,7 +42,7 @@ OPTIMIZE ?= -O2
+ CFLAGS  = $(OPTIMIZE) -g2 $(INCL) $(CDEBUG) $(MACHINECFLAGS) $(ARCHCFLAGS) $(EXTRACFLAGS) $(VERSIONCFLAGS) -DHOST_$(HOST) $(PFLAGS)
+ MFLAGS  = $(OPTIMIZE) -g2 $(INCL) $(CDEBUG) $(MACHINECFLAGS) $(EXTRACFLAGS) $(VERSIONCFLAGS) -DHOST_$(HOST) $(PFLAGS)
+ LDFLAGS += $(PFLAGS) $(ARCHLDFLAGS)
+-CONLYFLAGS =  -std=gnu99 -Wall -Werror -Wno-format
++CONLYFLAGS =  -std=gnu99 -Wall -Wno-format
+ 
+ SOBJS	= charset.o dtnetsubs.o
+