Control: tags 1075363 + patch
Control: tags 1075363 + pending

Dear maintainer,

I've prepared an NMU for pccts (versioned as 1.33MR33-6.4) and am about
to upload it.  I'm not doing a delayed upload in this case since the
maintainer hasn't touched the package since 2010.

Thanks,

-- 
Colin Watson (he/him)                              [cjwat...@debian.org]
diff -Nru pccts-1.33MR33/debian/changelog pccts-1.33MR33/debian/changelog
--- pccts-1.33MR33/debian/changelog	2022-07-06 11:12:30.000000000 +0100
+++ pccts-1.33MR33/debian/changelog	2024-08-14 11:24:49.000000000 +0100
@@ -1,3 +1,10 @@
+pccts (1.33MR33-6.4) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Don't rely on implicit declarations (closes: #1075363).
+
+ -- Colin Watson <cjwat...@debian.org>  Wed, 14 Aug 2024 11:24:49 +0100
+
 pccts (1.33MR33-6.3) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru pccts-1.33MR33/debian/patches/implicit-declarations.patch pccts-1.33MR33/debian/patches/implicit-declarations.patch
--- pccts-1.33MR33/debian/patches/implicit-declarations.patch	1970-01-01 01:00:00.000000000 +0100
+++ pccts-1.33MR33/debian/patches/implicit-declarations.patch	2024-08-14 11:22:41.000000000 +0100
@@ -0,0 +1,46 @@
+From: Colin Watson <cjwat...@debian.org>
+Date: Wed, 14 Aug 2024 11:22:38 +0100
+Subject: Don't rely on implicit declarations
+
+These are errors in GCC 14.
+
+Bug-Debian: https://bugs.debian.org/1075363
+Last-Update: 2024-08-14
+---
+ sorcerer/gen.c        | 2 +-
+ support/genmk/genmk.c | 3 ++-
+ 2 files changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/sorcerer/gen.c b/sorcerer/gen.c
+index 4a67a1e..f8fcbd0 100644
+--- a/sorcerer/gen.c
++++ b/sorcerer/gen.c
+@@ -56,7 +56,7 @@
+ #include "sym.h"
+ #include "proto.h"
+ 
+-static outfile = -1;
++static int outfile = -1;
+ static char *current_rule;
+ static ListNode *labels_for_func = NULL;
+ static AST *whichRule;
+diff --git a/support/genmk/genmk.c b/support/genmk/genmk.c
+index f07c925..7036afe 100644
+--- a/support/genmk/genmk.c
++++ b/support/genmk/genmk.c
+@@ -73,13 +73,14 @@ void mk(char *project, char **files, int n, int argc, char **argv);
+ void pfiles(char **files, int n, char *suffix);
+ void fatal(char *msg);
+ void warn(char *msg);
++void pclasses(char **classes, int n, char *suffix);
+ #else
+ void help();
+ void mk();
+ void pfiles();
+ void fatal();
+ void warn();
+-void pclasses(char **classes, int n, char *suffix);
++void pclasses();
+ #endif
+ 
+ typedef struct _Opt {
diff -Nru pccts-1.33MR33/debian/patches/series pccts-1.33MR33/debian/patches/series
--- pccts-1.33MR33/debian/patches/series	2022-07-06 11:08:24.000000000 +0100
+++ pccts-1.33MR33/debian/patches/series	2024-08-14 11:22:41.000000000 +0100
@@ -1 +1,2 @@
 conversion-format-3.0-quilt.patch
+implicit-declarations.patch

Reply via email to