Control: tags 1097559 + patch
Control: tags 1097559 + pending

Dear maintainer,

I've prepared an NMU for pccts (versioned as 1.33MR33-6.6) and uploaded 
it to DELAYED/7. Please feel free to tell me if I should cancel it.

cu
Adrian
diffstat for pccts-1.33MR33 pccts-1.33MR33

 changelog          |    9 ++++++++
 patches/copt.patch |   58 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 patches/series     |    1 
 rules              |    2 -
 4 files changed, 69 insertions(+), 1 deletion(-)

diff -Nru pccts-1.33MR33/debian/changelog pccts-1.33MR33/debian/changelog
--- pccts-1.33MR33/debian/changelog	2025-04-10 21:51:59.000000000 +0300
+++ pccts-1.33MR33/debian/changelog	2025-10-09 17:50:50.000000000 +0300
@@ -1,3 +1,12 @@
+pccts (1.33MR33-6.6) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Build with -std=gnu17 to workaround FTBFS with GCC 15.
+    (Closes: #1097559)
+  * Don't override COPT in makefiles.
+
+ -- Adrian Bunk <[email protected]>  Thu, 09 Oct 2025 17:50:50 +0300
+
 pccts (1.33MR33-6.5) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru pccts-1.33MR33/debian/patches/copt.patch pccts-1.33MR33/debian/patches/copt.patch
--- pccts-1.33MR33/debian/patches/copt.patch	1970-01-01 02:00:00.000000000 +0200
+++ pccts-1.33MR33/debian/patches/copt.patch	2025-10-09 17:50:50.000000000 +0300
@@ -0,0 +1,58 @@
+Description: Don't override COPT in makefiles
+Author: Adrian Bunk <[email protected]>
+
+--- pccts-1.33MR33.orig/antlr/makefile
++++ pccts-1.33MR33/antlr/makefile
+@@ -165,7 +165,7 @@ PCCTS_H=../h
+ #   UNIX  (default)
+ #
+ CC=cc
+-COPT=-O
++#COPT=-O
+ ANTLR=../bin/antlr
+ DLG=../bin/dlg
+ OBJ_EXT=o
+--- pccts-1.33MR33.orig/dlg/makefile
++++ pccts-1.33MR33/dlg/makefile
+@@ -115,7 +115,7 @@ PCCTS_H=../h
+ #   UNIX
+ #
+ CC=cc
+-COPT=-O
++#COPT=-O
+ ANTLR=../bin/antlr
+ DLG=../bin/dlg
+ CFLAGS= $(COPT) -I. -I$(SET) -I$(PCCTS_H) -DUSER_ZZSYN -DZZLEXBUFSIZE=32000
+--- pccts-1.33MR33.orig/sorcerer/lib/makefile
++++ pccts-1.33MR33/sorcerer/lib/makefile
+@@ -4,7 +4,7 @@
+ SRC = astlib.c sstack.c sorlist.c sintstack.c
+ OBJ = astlib.o sstack.o sorlist.o sintstack.o
+ CC=cc
+-COPT=-g
++#COPT=-g
+ CFLAGS=$(COPT) -I../../h -I../h
+ 
+ libs : $(OBJ) $(SRC)
+--- pccts-1.33MR33.orig/sorcerer/makefile
++++ pccts-1.33MR33/sorcerer/makefile
+@@ -10,7 +10,7 @@ PCCTS_H = $(PCCTS)/h
+ SET = $(PCCTS)/support/set
+ 
+ CC=cc
+-COPT=-g
++#COPT=-g
+ CFLAGS = $(COPT) -Ih -I. -I$(PCCTS_H) -I$(SET) -DZZLEXBUFSIZE=32000
+ AFLAGS = -gh -k 2 -gt
+ DFLAGS = -C2
+--- pccts-1.33MR33.orig/support/genmk/makefile
++++ pccts-1.33MR33/support/genmk/makefile
+@@ -8,7 +8,7 @@ OBJ=genmk.o
+ # Define PC if you use a PC OS (changes directory symbol and object file extension)
+ # see pccts/h/pcctscfg.h
+ CC=cc
+-COPT=-O
++#COPT=-O
+ #CFLAGS=-I../../h -DPC
+ CFLAGS=$(COPT) -I../../h
+ BAG=../../bin/bag
diff -Nru pccts-1.33MR33/debian/patches/series pccts-1.33MR33/debian/patches/series
--- pccts-1.33MR33/debian/patches/series	2025-04-10 21:51:59.000000000 +0300
+++ pccts-1.33MR33/debian/patches/series	2025-10-09 17:50:50.000000000 +0300
@@ -2,3 +2,4 @@
 implicit-declarations.patch
 clang.patch
 gcc-15.patch
+copt.patch
diff -Nru pccts-1.33MR33/debian/rules pccts-1.33MR33/debian/rules
--- pccts-1.33MR33/debian/rules	2025-04-10 21:51:59.000000000 +0300
+++ pccts-1.33MR33/debian/rules	2025-10-09 17:50:50.000000000 +0300
@@ -10,7 +10,7 @@
 %:
 	dh $@
 
-export COPT=-O2 -Wall -Wno-unused -g
+export COPT=-O2 -Wall -Wno-unused -g -std=gnu17
 #ifneq ($(findstring debug,$(DEB_BUILD_OPTIONS)),)
 #COPT+=-g
 #endif

Reply via email to