[Git][debian-gis-team/postgis][experimental] 2 commits: Add upstream patch to fix FTBFS on ppc64el.
Bas Couwenberg (@sebastic)
gitlab at salsa.debian.org
Tue Jul 7 13:40:29 BST 2026
Bas Couwenberg pushed to branch experimental at Debian GIS Project / postgis
Commits:
7cb5b4ab by Bas Couwenberg at 2026-07-07T14:31:57+02:00
Add upstream patch to fix FTBFS on ppc64el.
- - - - -
f063d4cb by Bas Couwenberg at 2026-07-07T14:32:08+02:00
Set distribution to experimental.
- - - - -
3 changed files:
- debian/changelog
- + debian/patches/ppc64el-nurbs.patch
- debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -1,12 +1,13 @@
-postgis (3.7.0~alpha1+dfsg-1~exp2) UNRELEASED; urgency=medium
+postgis (3.7.0~alpha1+dfsg-1~exp2) experimental; urgency=medium
[ Bas Couwenberg ]
* Add patch to use harding CPPFLAGS for fuzzingengine.
+ * Add upstream patch to fix FTBFS on ppc64el.
[ Christoph Berg ]
* debian/pgversions: Bump to 14+.
- -- Bas Couwenberg <sebastic at debian.org> Mon, 06 Jul 2026 16:43:49 +0200
+ -- Bas Couwenberg <sebastic at debian.org> Tue, 07 Jul 2026 14:31:58 +0200
postgis (3.7.0~alpha1+dfsg-1~exp1) experimental; urgency=medium
=====================================
debian/patches/ppc64el-nurbs.patch
=====================================
@@ -0,0 +1,34 @@
+From 215a1d6755280c5214a122e09009a34883d8937a Mon Sep 17 00:00:00 2001
+From: Darafei Praliaskouski <me at komzpa.net>
+Date: Tue, 7 Jul 2026 15:18:08 +0400
+Subject: [PATCH] Avoid ppc64el vector macro in NURBS SQL comments
+
+The ppc64el toolchain can define vector for AltiVec, which makes the SQL preprocessor try to expand bare comment text while building postgis.sql.
+
+Reword the NURBS SQL comments so the preprocessor no longer sees that token.
+
+Closes #6093
+
+--- a/postgis/postgis_nurbs.sql.in
++++ b/postgis/postgis_nurbs.sql.in
+@@ -4,9 +4,9 @@
+ -- degree: Polynomial degree (1-10), higher = smoother
+ -- control_points: LINESTRING geometry defining curve shape
+ -- weights: Optional array of positive weights, one per control point (NULL for uniform weights)
+--- knots: Optional knot vector defining parameter space (NULL for uniform clamped spacing)
++-- knots: Optional knot sequence defining parameter space (NULL for uniform clamped spacing)
+ -- Returns: NURBS curve geometry
+--- Note: Knot vector must have (npoints + degree + 1) elements and be non-decreasing
++-- Note: Knot sequence must have (npoints + degree + 1) elements and be non-decreasing
+ -- Examples:
+ -- SELECT ST_MakeNurbsCurve(2, 'LINESTRING(0 0, 5 10, 10 0)'::geometry);
+ -- SELECT ST_MakeNurbsCurve(2, 'LINESTRING(0 0, 5 10, 10 0)'::geometry, ARRAY[1.0, 2.0, 1.0]);
+@@ -58,7 +58,7 @@ CREATE OR REPLACE FUNCTION ST_Weights(nu
+ COST 25;
+
+ -- ST_Knots(nurbscurve)
+--- Extracts the knot vector defining parameter space
++-- Extracts the knot sequence defining parameter space
+ -- Parameters:
+ -- nurbscurve: Input NURBS curve geometry
+ -- Returns: Array of knot values, NULL for uniform parameterization
=====================================
debian/patches/series
=====================================
@@ -2,3 +2,4 @@ relax-test-timing-constraints.patch
chaikin
incorrect-path-for-interpreter.patch
hardening.patch
+ppc64el-nurbs.patch
View it on GitLab: https://salsa.debian.org/debian-gis-team/postgis/-/compare/e40b9b876db9298eb3420e257a90973a89fffd24...f063d4cbfa43ef410f9f688347d0a5feb0c19ef4
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/postgis/-/compare/e40b9b876db9298eb3420e257a90973a89fffd24...f063d4cbfa43ef410f9f688347d0a5feb0c19ef4
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20260707/e5e59503/attachment-0001.htm>
More information about the Pkg-grass-devel
mailing list