Download raw body.
pterm, remove -Werror for gcc15
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 > + >
pterm, remove -Werror for gcc15