Control: tags 1037698 + patch

Dear maintainer,

I've prepared an NMU for j4-dmenu-desktop (versioned as 2.16-1.1). The diff
is attached to this message.

Regards.

Jochen
diff -Nru j4-dmenu-desktop-2.16/debian/changelog j4-dmenu-desktop-2.16/debian/changelog
--- j4-dmenu-desktop-2.16/debian/changelog	2018-09-10 21:26:15.000000000 +0200
+++ j4-dmenu-desktop-2.16/debian/changelog	2023-07-30 16:19:24.000000000 +0200
@@ -1,3 +1,10 @@
+j4-dmenu-desktop (2.16-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix build with GCC 13 (Closes: #1037698)
+
+ -- Jochen Sprickerhof <jspri...@debian.org>  Sun, 30 Jul 2023 16:19:24 +0200
+
 j4-dmenu-desktop (2.16-1) unstable; urgency=medium
 
   * New upstream release 
diff -Nru j4-dmenu-desktop-2.16/debian/patches/0003-Fix-build-with-GCC-13.patch j4-dmenu-desktop-2.16/debian/patches/0003-Fix-build-with-GCC-13.patch
--- j4-dmenu-desktop-2.16/debian/patches/0003-Fix-build-with-GCC-13.patch	1970-01-01 01:00:00.000000000 +0100
+++ j4-dmenu-desktop-2.16/debian/patches/0003-Fix-build-with-GCC-13.patch	2023-07-30 16:18:44.000000000 +0200
@@ -0,0 +1,28 @@
+From: Sam James <s...@gentoo.org>
+Date: Tue, 18 Apr 2023 11:08:53 +0100
+Subject: Fix build with GCC 13
+
+GCC 13 (as usual for new compiler releases) shuffles around some internal includes so some
+are no longer transitively included.
+
+See https://gnu.org/software/gcc/gcc-13/porting_to.html.
+
+Bug: https://bugs.gentoo.org/895200
+---
+ src/Application.hh | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/src/Application.hh b/src/Application.hh
+index 355be9b..d24ff1c 100644
+--- a/src/Application.hh
++++ b/src/Application.hh
+@@ -19,7 +19,8 @@
+ #define APPLICATION_DEF
+ 
+ #include <algorithm>
+-#include <string.h>
++#include <cstdint>
++#include <cstring>
+ #include <unistd.h>
+ 
+ #include "Utilities.hh"
diff -Nru j4-dmenu-desktop-2.16/debian/patches/series j4-dmenu-desktop-2.16/debian/patches/series
--- j4-dmenu-desktop-2.16/debian/patches/series	2018-09-10 21:26:15.000000000 +0200
+++ j4-dmenu-desktop-2.16/debian/patches/series	2023-07-30 16:18:48.000000000 +0200
@@ -1,2 +1,3 @@
 0001-remove-catch-download.patch
 0002-remove-testcase-for-desktop-systems.patch
+0003-Fix-build-with-GCC-13.patch

Attachment: signature.asc
Description: PGP signature

Reply via email to