[Git][debian-gis-team/postgis][master] 2 commits: Add upstream patch to fix FTBFS with PROJ 7.

Bas Couwenberg gitlab at salsa.debian.org
Sun Mar 1 06:27:33 GMT 2020



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


Commits:
c81fd8b6 by Bas Couwenberg at 2020-03-01T07:02:33+01:00
Add upstream patch to fix FTBFS with PROJ 7.

- - - - -
71b06d68 by Bas Couwenberg at 2020-03-01T07:02:45+01:00
Set distribution to unstable.

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/0001-regress_proj-Avoid-testing-with-points-out-of-the-sr.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+postgis (3.0.1+dfsg-2) unstable; urgency=medium
+
+  * Add upstream patch to fix FTBFS with PROJ 7.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Sun, 01 Mar 2020 07:02:35 +0100
+
 postgis (3.0.1+dfsg-1) unstable; urgency=medium
 
   * New upstream release.


=====================================
debian/patches/0001-regress_proj-Avoid-testing-with-points-out-of-the-sr.patch
=====================================
@@ -0,0 +1,24 @@
+Description: regress_proj: Avoid testing with points out of the srs boundaries
+ The behaviour has changed in PROJ 7 and it now returns an error
+ (before it returned 'Infinity Infinity').
+Author: Raúl Marín <git at rmr.ninja>
+Origin: https://trac.osgeo.org/postgis/changeset/2c8d543a2fc217eb79374df3df2691bdcbf364bb/git
+Bug: https://trac.osgeo.org/postgis/ticket/4642
+
+--- a/regress/core/regress_proj.sql
++++ b/regress/core/regress_proj.sql
+@@ -63,5 +63,5 @@ SELECT 13, count(*) FROM
+ (
+     SELECT ST_Transform('SRID=4326; POINT(0 0)'::geometry, srid) AS g
+     FROM
+-        ( SELECT srid FROM spatial_ref_sys LIMIT 150 ) _a
++        ( Select srid from spatial_ref_sys where srid IN (3819,  3821,  3824,  3889,  3906,  4001,  4002,  4003,  4004,  4005,  4006,  4007,  4008,  4009,  4010,  4011,  4012,  4013,  4014,  4015,  4016,  4018,  4019,  4020,  4021,  4022,  4023,  4024,  4025,  4027,  4028,  4029,  4030,  4031,  4032,  4033,  4034,  4035,  4036,  4041,  4042,  4043,  4044,  4045,  4046,  4047,  4052,  4053,  4054,  4055,  4075,  4081,  4120,  4121,  4122,  4123,  4124,  4125,  4126,  4127,  4128,  4129,  4130,  4131,  4132,  4133,  4134,  4135,  4139,  4140,  4141,  4142,  4143,  4144,  4145,  4146,  4147,  4148,  4149,  4150,  4151,  4152,  4153,  4154,  4155,  4156,  4157,  4158,  4159,  4160,  4161,  4162,  4163,  4164,  4165,  4166,  4167,  4168,  4169,  4170,  4171,  4172,  4173,  4174,  4175,  4176,  4178,  4179,  4180,  4181,  4182,  4183,  4184,  4185,  4188,  4189,  4190,  4191,  4192,  4193,  4194,  4195,  4196,  4197,  4198,  4199,  4200,  4201,  4202,  4203,  4204,  4205,  4206,  4207,  4208,  4209,  4210,  4211,  4212,  4213,  4214,  4215,  4216,  4218,  4219,  4220,  4221)) _a
+ ) _b WHERE g IS NOT NULL;
+--- a/regress/core/regress_proj_expected
++++ b/regress/core/regress_proj_expected
+@@ -11,4 +11,4 @@ ERROR:  ST_Transform: Input geometry has
+ 10|POINT(574600 5316780)
+ 11|SRID=100001;POINT(574600 5316780)
+ ERROR:  could not parse proj string 'invalid projection'
+-13|150
++13|147


=====================================
debian/patches/series
=====================================
@@ -1,2 +1,3 @@
 relax-test-timing-constraints.patch
 chaikin
+0001-regress_proj-Avoid-testing-with-points-out-of-the-sr.patch



View it on GitLab: https://salsa.debian.org/debian-gis-team/postgis/-/compare/5f6e10bb6e21f06f587f98039ffb1d0cc1bc6d66...71b06d68c937bb81c452f3563df89e3037ddbabf

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/postgis/-/compare/5f6e10bb6e21f06f587f98039ffb1d0cc1bc6d66...71b06d68c937bb81c452f3563df89e3037ddbabf
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/20200301/96605d2f/attachment-0001.html>


More information about the Pkg-grass-devel mailing list