[Git][debian-gis-team/aggdraw][master] 2 commits: Add patch to fix FTBFS with GCC 14.

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Wed Sep 11 05:30:02 BST 2024



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


Commits:
a39090b2 by Bas Couwenberg at 2024-09-11T06:14:46+02:00
Add patch to fix FTBFS with GCC 14.

- - - - -
2cd4da62 by Bas Couwenberg at 2024-09-11T06:14:58+02:00
Set distribution to unstable.

- - - - -


3 changed files:

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


Changes:

=====================================
debian/changelog
=====================================
@@ -1,9 +1,11 @@
-aggdraw (1.3.18-2) UNRELEASED; urgency=medium
+aggdraw (1.3.18-2) unstable; urgency=medium
 
   * Team upload.
   * Bump Standards-Version to 4.7.0, no changes.
+  * Add patch to fix FTBFS with GCC 14.
+    (closes: #1081301)
 
- -- Bas Couwenberg <sebastic at debian.org>  Sun, 28 Jul 2024 19:32:06 +0200
+ -- Bas Couwenberg <sebastic at debian.org>  Wed, 11 Sep 2024 06:14:48 +0200
 
 aggdraw (1.3.18-1) unstable; urgency=medium
 


=====================================
debian/patches/gcc-14.patch
=====================================
@@ -0,0 +1,15 @@
+Description: Fix FTBFS with GCC 14.
+Author: Bas Couwenberg <sebastic at debian.org>
+Bug: https://github.com/pytroll/aggdraw/issues/101
+
+--- a/agg2/font_freetype/agg_font_freetype.cpp
++++ b/agg2/font_freetype/agg_font_freetype.cpp
+@@ -171,7 +171,7 @@ namespace agg
+             v_control = v_start;
+ 
+             point = outline.points + first;
+-            tags  = outline.tags  + first;
++            tags  = (char*)outline.tags  + first;
+             tag   = FT_CURVE_TAG(tags[0]);
+ 
+             // A contour cannot start with a cubic control point!


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



View it on GitLab: https://salsa.debian.org/debian-gis-team/aggdraw/-/compare/a46a5aa75338508d8eb18277b7206aa93c680753...2cd4da6260d7fab279dee0d4e402464093bbd1eb

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/aggdraw/-/compare/a46a5aa75338508d8eb18277b7206aa93c680753...2cd4da6260d7fab279dee0d4e402464093bbd1eb
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/20240911/eb073bdd/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list