Source: wreport
Followup-For: Bug #1037898
Tags: patch

Dear Maintainer,

The patch will fix the gcc-13 build issue and resovled the #1041537,
could you give a try on next upload?


-- 
Regards,
--
  Bo YU

diff -Nru wreport-3.35/debian/changelog wreport-3.35/debian/changelog
--- wreport-3.35/debian/changelog       2022-11-19 20:29:35.000000000 +0800
+++ wreport-3.35/debian/changelog       2023-07-26 23:52:16.000000000 +0800
@@ -1,3 +1,11 @@
+wreport (3.35-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Add fix-gcc-13.patch to fix gcc-13 build issue. (Closes: #1037898)
+  * export DEB_PYTHON_INSTALL_LAYOUT = deb in d/rules
+
+ -- Bo YU <tsu.y...@gmail.com>  Wed, 26 Jul 2023 23:52:16 +0800
+
 wreport (3.35-2) unstable; urgency=medium
 
   * Build-Depend on python3-dev instead of python3-all-dev (Closes: #1024302)
diff -Nru wreport-3.35/debian/patches/fix-gcc-13.patch 
wreport-3.35/debian/patches/fix-gcc-13.patch
--- wreport-3.35/debian/patches/fix-gcc-13.patch        1970-01-01 
07:30:00.000000000 +0730
+++ wreport-3.35/debian/patches/fix-gcc-13.patch        2023-07-26 
23:52:16.000000000 +0800
@@ -0,0 +1,26 @@
+Description: fix gcc-13 build issue 
+ upstream has fixed the issue
+Author: Bo YU <tsu.y...@gmail.com> 
+Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1037898 
+Forwarded: not-needed
+Last-Update: 2023-07-27
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/wreport/utils/string.cc
++++ b/wreport/utils/string.cc
+@@ -1,4 +1,5 @@
+ #include "string.h"
++#include <cstdint>
+ #include <vector>
+ 
+ using namespace std;
+--- a/wreport/utils/tests.h
++++ b/wreport/utils/tests.h
+@@ -9,6 +9,7 @@
+  * Copyright (C) 2003--2017  Enrico Zini <enr...@debian.org>
+  */
+ 
++#include <cstdint>
+ #include <string>
+ #include <sstream>
+ #include <exception>
diff -Nru wreport-3.35/debian/patches/series wreport-3.35/debian/patches/series
--- wreport-3.35/debian/patches/series  1970-01-01 07:30:00.000000000 +0730
+++ wreport-3.35/debian/patches/series  2023-07-26 16:54:01.000000000 +0800
@@ -0,0 +1 @@
+fix-gcc-13.patch
diff -Nru wreport-3.35/debian/rules wreport-3.35/debian/rules
--- wreport-3.35/debian/rules   2022-11-19 20:29:35.000000000 +0800
+++ wreport-3.35/debian/rules   2023-07-26 23:52:16.000000000 +0800
@@ -1,5 +1,7 @@
 #!/usr/bin/make -f
 
+export DEB_PYTHON_INSTALL_LAYOUT = deb
+
 %:
        dh $@ --with python3 --without autoreconf -Smeson
 

Attachment: signature.asc
Description: PGP signature

Reply via email to