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 <[email protected]> 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 <[email protected]> +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.
_______________________________________________ Pkg-grass-devel mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-grass-devel
