[Git][debian-gis-team/mapnik][master] Add patch to fix FTBFS with gcc-13. (closes: #1037768)

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Wed Jun 14 13:56:58 BST 2023



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


Commits:
5ea4a5dc by Bas Couwenberg at 2023-06-14T14:56:37+02:00
Add patch to fix FTBFS with gcc-13. (closes: #1037768)

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/gcc-13.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -3,6 +3,8 @@ mapnik (3.1.0+ds-4) UNRELEASED; urgency=medium
   * Bump Standards-Version to 4.6.2, no changes.
   * Update obsolete freetype (build) dependency.
   * Bump debhelper compat to 13.
+  * Add patch to fix FTBFS with gcc-13.
+    (closes: #1037768)
 
  -- Bas Couwenberg <sebastic at debian.org>  Wed, 18 Jan 2023 17:01:55 +0100
 


=====================================
debian/patches/gcc-13.patch
=====================================
@@ -0,0 +1,41 @@
+Description: Fix FTBFS with GCC 13.
+Author: Bas Couwenberg <sebastic at debian.org>
+Bug: https://github.com/mapnik/mapnik/pull/4389
+Bug-Debian: https://bugs.debian.org/1037768
+
+--- a/include/mapnik/wkb.hpp
++++ b/include/mapnik/wkb.hpp
+@@ -28,6 +28,9 @@
+ #include <mapnik/geometry.hpp>
+ #include <mapnik/util/noncopyable.hpp>
+ 
++// stl
++#include <cstdint>
++
+ namespace mapnik
+ {
+ 
+--- a/include/mapnik/geometry_fusion_adapted.hpp
++++ b/include/mapnik/geometry_fusion_adapted.hpp
+@@ -27,6 +27,9 @@
+ #include <mapnik/geometry.hpp>
+ #include <boost/fusion/include/adapt_struct.hpp>
+ 
++// stl
++#include <cstdint>
++
+ BOOST_FUSION_ADAPT_STRUCT(
+     mapnik::geometry::point<double>,
+     (double, x)
+--- a/include/mapnik/geometry/boost_spirit_karma_adapter.hpp
++++ b/include/mapnik/geometry/boost_spirit_karma_adapter.hpp
+@@ -26,6 +26,9 @@
+ 
+ #include <mapnik/geometry.hpp>
+ 
++// stl
++#include <cstdint>
++
+ namespace boost { using mapbox::util::get; }
+ 
+ #include <boost/spirit/home/karma/domain.hpp>


=====================================
debian/patches/series
=====================================
@@ -1,3 +1,4 @@
 libxml2.patch
 Stop-using-custom-OrderedDict.patch
 proj.patch
+gcc-13.patch



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

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/mapnik/-/commit/5ea4a5dc8a5e6b4e1106823b3ba246fc666c9de4
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/20230614/1d841f65/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list