Control: tags -1 patch

The attached patch resolves the build failure.

Kind Regards,

Bas

--
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1
diff -Nru mysql-workbench-8.0.32+dfsg/debian/changelog 
mysql-workbench-8.0.32+dfsg/debian/changelog
--- mysql-workbench-8.0.32+dfsg/debian/changelog        2023-03-22 
04:10:41.000000000 +0100
+++ mysql-workbench-8.0.32+dfsg/debian/changelog        2023-11-17 
21:08:37.000000000 +0100
@@ -1,3 +1,11 @@
+mysql-workbench (8.0.32+dfsg-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Add patch to fix FTBFS with GCC 13.
+    (closes: #1051433)
+
+ -- Bas Couwenberg <sebas...@debian.org>  Fri, 17 Nov 2023 21:08:37 +0100
+
 mysql-workbench (8.0.32+dfsg-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nru mysql-workbench-8.0.32+dfsg/debian/patches/gcc-13.patch 
mysql-workbench-8.0.32+dfsg/debian/patches/gcc-13.patch
--- mysql-workbench-8.0.32+dfsg/debian/patches/gcc-13.patch     1970-01-01 
01:00:00.000000000 +0100
+++ mysql-workbench-8.0.32+dfsg/debian/patches/gcc-13.patch     2023-11-17 
21:08:37.000000000 +0100
@@ -0,0 +1,69 @@
+Description: Include <cstdint> for int64_t.
+ Per https://gcc.gnu.org/gcc-13/porting_to.html
+Author: Bas Couwenberg <sebas...@debian.org>
+
+--- a/library/base/base/util_functions.h
++++ b/library/base/base/util_functions.h
+@@ -53,6 +53,8 @@
+ #define BASE_PATH_SEPARATOR_STR "/"
+ #endif
+ 
++#include <cstdint>
++
+ #define BASE_ORDPTR(value) ((void *)(unsigned long)(value))
+ 
+ // TODO: move Windows specific stuff to base.windows library.
+--- a/library/cdbc/src/driver_manager.h
++++ b/library/cdbc/src/driver_manager.h
+@@ -33,6 +33,8 @@
+ #include "grts/structs.db.mgmt.h"
+ #include <cppconn/connection.h>
+ 
++#include <cstdint>
++
+ namespace wb {
+   class SSHTunnel;
+ }
+--- a/library/base/base/string_utilities.h
++++ b/library/base/base/string_utilities.h
+@@ -43,6 +43,8 @@
+ #include <memory>
+ #include <iomanip>
+ 
++#include <cstdint>
++
+ #define _(s) s // TODO: replace with localization code.
+ 
+ using std::int64_t;
+--- a/library/base/base/utf8string.h
++++ b/library/base/base/utf8string.h
+@@ -30,6 +30,7 @@
+ #include <glib.h>
+ #include <vector>
+ #include <cstring>
++#include <cstdint>
+ 
+ namespace base {
+   /**
+--- a/library/forms/mforms/treeview.h
++++ b/library/forms/mforms/treeview.h
+@@ -25,6 +25,8 @@
+ 
+ #include <mforms/view.h>
+ 
++#include <cstdint>
++
+ /**
+  * Implementation of a control class for a treeview control based on node 
objects.
+  */
+--- a/backend/wbpublic/sqlide/sqlide_generics_private.h
++++ b/backend/wbpublic/sqlide/sqlide_generics_private.h
+@@ -31,6 +31,8 @@
+ #include <sqlite/execute.hpp>
+ #include <ctime>
+ 
++#include <cstdint>
++
+ namespace sqlide {
+ 
+   using namespace sqlite;
diff -Nru mysql-workbench-8.0.32+dfsg/debian/patches/series 
mysql-workbench-8.0.32+dfsg/debian/patches/series
--- mysql-workbench-8.0.32+dfsg/debian/patches/series   2021-05-31 
14:24:05.000000000 +0200
+++ mysql-workbench-8.0.32+dfsg/debian/patches/series   2023-11-17 
21:04:08.000000000 +0100
@@ -10,3 +10,4 @@
 specify-char-signedness.patch
 un-mysql.patch
 #~wbcopytables-rpath.patch
+gcc-13.patch
diff -Nru mysql-workbench-8.0.32+dfsg/debian/rules 
mysql-workbench-8.0.32+dfsg/debian/rules
--- mysql-workbench-8.0.32+dfsg/debian/rules    2023-03-22 03:56:22.000000000 
+0100
+++ mysql-workbench-8.0.32+dfsg/debian/rules    2023-11-17 21:08:37.000000000 
+0100
@@ -9,7 +9,7 @@
 ## "bindnow" causes run-time errors:
 #export DEB_BUILD_MAINT_OPTIONS=hardening=+bindnow
 
-export DEB_CPPFLAGS_MAINT_APPEND= -Wno-error=deprecated-declarations 
-Wno-error=maybe-uninitialized
+export DEB_CPPFLAGS_MAINT_APPEND= -Wno-error=deprecated-declarations 
-Wno-error=maybe-uninitialized -Wno-error=c++20-compat 
-Wno-error=overloaded-virtual=
 # -Wno-error=deprecated-copy -Wno-error=format-overflow=
 # -std=c++11
 

Reply via email to