Bug#1037909: yubioath-desktop: ftbfs with GCC-13

2023-09-18 Thread Bastian Germann

I am sponsiring a NMU to fix this.
The debdiff is attached.diff -Nru yubioath-desktop-5.1.0/debian/changelog 
yubioath-desktop-5.1.0/debian/changelog
--- yubioath-desktop-5.1.0/debian/changelog 2022-02-11 15:59:17.0 
+0100
+++ yubioath-desktop-5.1.0/debian/changelog 2023-09-17 16:29:46.0 
+0200
@@ -1,3 +1,11 @@
+yubioath-desktop (5.1.0-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Add 02-fix-gcc-13 patch to fix gcc-13 build issue, thanks
+Jonathan Bergh  also. (Closes: #1037909)
+
+ -- Bo YU   Sun, 17 Sep 2023 22:29:46 +0800
+
 yubioath-desktop (5.1.0-1) unstable; urgency=medium
 
   * new upstream version 5.1.0
diff -Nru yubioath-desktop-5.1.0/debian/patches/02-fix-gcc-13.patch 
yubioath-desktop-5.1.0/debian/patches/02-fix-gcc-13.patch
--- yubioath-desktop-5.1.0/debian/patches/02-fix-gcc-13.patch   1970-01-01 
01:00:00.0 +0100
+++ yubioath-desktop-5.1.0/debian/patches/02-fix-gcc-13.patch   2023-09-17 
16:29:27.0 +0200
@@ -0,0 +1,18 @@
+Description: fix gcc-13 build issue 
+ Due to the upstream has beed renamed(6.0.0) and it seems the code has been 
+ refactored, so do not forward it.
+Author: Bo YU  
+Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1037909
+Last-Update: 2023-07-24
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/QZXing/zxing/zxing/common/Types.h
 b/QZXing/zxing/zxing/common/Types.h
+@@ -2,6 +2,7 @@
+ #ifndef ZXING_TYPES_H
+ #define ZXING_TYPES_H
+ 
++#include 
+ #include 
+ #include 
+ #include 
diff -Nru yubioath-desktop-5.1.0/debian/patches/series 
yubioath-desktop-5.1.0/debian/patches/series
--- yubioath-desktop-5.1.0/debian/patches/series2022-02-11 
15:59:38.0 +0100
+++ yubioath-desktop-5.1.0/debian/patches/series2023-09-17 
16:16:17.0 +0200
@@ -1 +1,2 @@
 01-fix_target_path
+02-fix-gcc-13.patch


Bug#1037909: yubioath-desktop: ftbfs with GCC-13

2023-09-16 Thread Jonathan Bergh
Control: tags -1 + patch

Fixes 1037909 due to upgrade with gcc-13


patch1.debdiff
Description: Binary data