[Git][debian-gis-team/osmium-tool][master] Add upstream patch to fix FTBFS with GCC 14. (closes: #1075352)

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Wed Jul 3 19:19:04 BST 2024



Bas Couwenberg pushed to branch master at Debian GIS Project / osmium-tool


Commits:
83b797b7 by Bas Couwenberg at 2024-07-03T20:18:44+02:00
Add upstream patch to fix FTBFS with GCC 14. (closes: #1075352)

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/gcc14.patch
- + debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+osmium-tool (1.16.0-2) UNRELEASED; urgency=medium
+
+  * Add upstream patch to fix FTBFS with GCC 14.
+    (closes: #1075352)
+
+ -- Bas Couwenberg <sebastic at debian.org>  Wed, 03 Jul 2024 20:02:54 +0200
+
 osmium-tool (1.16.0-1) unstable; urgency=medium
 
   * New upstream release.


=====================================
debian/patches/gcc14.patch
=====================================
@@ -0,0 +1,25 @@
+Description: Remove non-compiling assignment operator.
+Author: Janusz Chorko <jchorko at gmail.com>
+Origin: https://github.com/Tencent/rapidjson/pull/719
+Bug: https://github.com/Tencent/rapidjson/issues/718
+
+--- a/include/rapidjson/document.h
++++ b/include/rapidjson/document.h
+@@ -316,8 +316,6 @@ struct GenericStringRef {
+ 
+     GenericStringRef(const GenericStringRef& rhs) : s(rhs.s), length(rhs.length) {}
+ 
+-    GenericStringRef& operator=(const GenericStringRef& rhs) { s = rhs.s; length = rhs.length; }
+-
+     //! implicit conversion to plain CharType pointer
+     operator const Ch *() const { return s; }
+ 
+@@ -328,6 +326,8 @@ private:
+     //! Disallow construction from non-const array
+     template<SizeType N>
+     GenericStringRef(CharType (&str)[N]) /* = delete */;
++    //! Copy assignment operator not permitted - immutable type
++    GenericStringRef& operator=(const GenericStringRef& rhs) /* = delete */;
+ };
+ 
+ //! Mark a character pointer as constant string


=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+gcc14.patch



View it on GitLab: https://salsa.debian.org/debian-gis-team/osmium-tool/-/commit/83b797b734d8b9b7318c249910affe779843b091

-- 
This project does not include diff previews in email notifications.
View it on GitLab: https://salsa.debian.org/debian-gis-team/osmium-tool/-/commit/83b797b734d8b9b7318c249910affe779843b091
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20240703/e8146aaa/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list