Control: tags 1066506 + patch
Control: tags 1066506 + pending

Dear maintainer,

I've prepared an NMU for mcpp (versioned as 2.7.2-5.1) and
uploaded it to DELAYED/4. Please feel free to tell me if I
should delay it longer.

Regards.


-- 
WBR, wRAR
diff -Nru mcpp-2.7.2/debian/changelog mcpp-2.7.2/debian/changelog
--- mcpp-2.7.2/debian/changelog	2019-08-15 11:50:38.000000000 +0500
+++ mcpp-2.7.2/debian/changelog	2024-03-16 18:23:16.000000000 +0500
@@ -1,3 +1,10 @@
+mcpp (2.7.2-5.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS with -Werror=implicit-function-declaration (Closes: #1066506).
+
+ -- Andrey Rakhmatullin <w...@debian.org>  Sat, 16 Mar 2024 18:23:16 +0500
+
 mcpp (2.7.2-5) unstable; urgency=medium
 
   * debian/compat: Require 10.
diff -Nru mcpp-2.7.2/debian/patches/fix-implicit-function-declaration.patch mcpp-2.7.2/debian/patches/fix-implicit-function-declaration.patch
--- mcpp-2.7.2/debian/patches/fix-implicit-function-declaration.patch	1970-01-01 05:00:00.000000000 +0500
+++ mcpp-2.7.2/debian/patches/fix-implicit-function-declaration.patch	2024-03-16 18:23:16.000000000 +0500
@@ -0,0 +1,18 @@
+Description: Define a feature test macro
+Author: Andrey Rakhmatullin <w...@debian.org>
+Bug-Debian: https://bugs.debian.org/1066506
+Last-Update: 2024-03-16
+
+Index: mcpp-2.7.2/src/system.c
+===================================================================
+--- mcpp-2.7.2.orig/src/system.c
++++ mcpp-2.7.2/src/system.c
+@@ -36,6 +36,8 @@
+  *      1. specify the constants in "configed.H" or "noconfig.H",
+  *      2. append the system-dependent routines in this file.
+  */
++#define _POSIX_C_SOURCE 200809L
++
+ #if PREPROCESSED
+ #include    "mcpp.H"
+ #else
diff -Nru mcpp-2.7.2/debian/patches/series mcpp-2.7.2/debian/patches/series
--- mcpp-2.7.2/debian/patches/series	2019-08-15 11:46:26.000000000 +0500
+++ mcpp-2.7.2/debian/patches/series	2024-03-16 18:23:16.000000000 +0500
@@ -4,3 +4,4 @@
 04-gniibe-fix-12.patch
 05-gniibe-fix-13.patch
 06-gniibe-fix-autotools.patch
+fix-implicit-function-declaration.patch

Attachment: signature.asc
Description: PGP signature

Reply via email to