Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: pterm, remove -Werror for gcc15
To:
Tim Meunier <trondd@kagu-tsuchi.com>, ports@openbsd.org
Date:
Tue, 16 Dec 2025 16:43:42 +0000

Download raw body.

Thread
ok

On 2025/12/16 16:55, Claudio Jeker wrote:
> 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
> + 
>