[Git][debian-gis-team/mapnik][master] Add patch to fix FTBFS with GCC 14. (closes: #1075252)

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Thu Jul 4 04:33:56 BST 2024



Bas Couwenberg pushed to branch master at Debian GIS Project / mapnik


Commits:
413ecf97 by Bas Couwenberg at 2024-07-04T05:21:42+02:00
Add patch to fix FTBFS with GCC 14. (closes: #1075252)

- - - - -


3 changed files:

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


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+mapnik (4.0.0+ds-2) UNRELEASED; urgency=medium
+
+  * Add patch to fix FTBFS with GCC 14.
+    (closes: #1075252)
+
+ -- Bas Couwenberg <sebastic at debian.org>  Thu, 04 Jul 2024 05:21:23 +0200
+
 mapnik (4.0.0+ds-1) unstable; urgency=medium
 
   * New upstream release.


=====================================
debian/patches/gcc14.patch
=====================================
@@ -0,0 +1,25 @@
+Description: Fix gcc 14 build issues
+Author: Tom Hughes <tom at compton.nu>
+Origin: https://src.fedoraproject.org/rpms/mapnik/blob/rawhide/f/mapnik-gcc14.patch
+Bug: https://github.com/mapnik/mapnik/issues/4467
+
+--- a/include/mapnik/util/singleton.hpp
++++ b/include/mapnik/util/singleton.hpp
+@@ -39,7 +39,7 @@
+ namespace mapnik {
+ 
+ template<typename T>
+-class CreateUsingNew
++class MAPNIK_DECL CreateUsingNew
+ {
+   public:
+     static T* create() { return new T; }
+@@ -47,7 +47,7 @@ class CreateUsingNew
+ };
+ 
+ template<typename T>
+-class CreateStatic
++class MAPNIK_DECL CreateStatic
+ {
+   private:
+     using storage_type = typename std::aligned_storage<sizeof(T), alignof(T)>::type;


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



View it on GitLab: https://salsa.debian.org/debian-gis-team/mapnik/-/commit/413ecf977ce4d2896fa1136d15e58f96cc661ecc

-- 
This project does not include diff previews in email notifications.
View it on GitLab: https://salsa.debian.org/debian-gis-team/mapnik/-/commit/413ecf977ce4d2896fa1136d15e58f96cc661ecc
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/20240704/35df3853/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list