[Git][debian-gis-team/proj][experimental] 2 commits: Update upstream patch to fix test failures on arm/mips.

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Wed Feb 22 19:44:12 GMT 2023



Bas Couwenberg pushed to branch experimental at Debian GIS Project / proj


Commits:
9294c581 by Bas Couwenberg at 2023-02-22T20:24:42+01:00
Update upstream patch to fix test failures on arm/mips.

- - - - -
4466e874 by Bas Couwenberg at 2023-02-22T20:24:53+01:00
Set distribution to experimental.

- - - - -


2 changed files:

- debian/changelog
- debian/patches/pr3633.patch


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+proj (9.2.0~rc1-1~exp3) experimental; urgency=medium
+
+  * Update upstream patch to fix test failures on arm/mips.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Wed, 22 Feb 2023 20:24:43 +0100
+
 proj (9.2.0~rc1-1~exp2) experimental; urgency=medium
 
   * Add upstream patch to fix test failures on arm/mips.


=====================================
debian/patches/pr3633.patch
=====================================
@@ -82,3 +82,36 @@ Bug: https://github.com/OSGeo/PROJ/issues/3632
      }
  }
  
+--- a/test/unit/test_io.cpp
++++ b/test/unit/test_io.cpp
+@@ -13163,11 +13163,13 @@ TEST(json_import, geodetic_reference_fra
+ // ---------------------------------------------------------------------------
+ 
+ TEST(json_import, geodetic_reference_frame_with_anchor_epoch) {
++    // Use dummy anchor_epoch = 0 to avoid fp issues on some architectures
++    // (cf https://github.com/OSGeo/PROJ/issues/3632)
+     auto json = "{\n"
+                 "  \"$schema\": \"foo\",\n"
+                 "  \"type\": \"GeodeticReferenceFrame\",\n"
+                 "  \"name\": \"my_name\",\n"
+-                "  \"anchor_epoch\": 2002.5,\n"
++                "  \"anchor_epoch\": 0,\n"
+                 "  \"ellipsoid\": {\n"
+                 "    \"name\": \"WGS 84\",\n"
+                 "    \"semi_major_axis\": 6378137,\n"
+@@ -15537,12 +15539,14 @@ TEST(json_import, vertical_crs_with_geoi
+ // ---------------------------------------------------------------------------
+ 
+ TEST(json_import, vertical_reference_frame_with_anchor_epoch) {
++    // Use dummy anchor_epoch = 0 to avoid fp issues on some architectures
++    // (cf https://github.com/OSGeo/PROJ/issues/3632)
+     auto json = "{\n"
+                 "  \"$schema\": \"foo\",\n"
+                 "  \"type\": \"VerticalReferenceFrame\",\n"
+                 "  \"name\": \"my_name\",\n"
+                 "  \"anchor\": \"my_anchor_definition\",\n"
+-                "  \"anchor_epoch\": 2002.5\n"
++                "  \"anchor_epoch\": 0\n"
+                 "}";
+     auto obj = createFromUserInput(json, nullptr);
+     auto vrf = nn_dynamic_pointer_cast<VerticalReferenceFrame>(obj);



View it on GitLab: https://salsa.debian.org/debian-gis-team/proj/-/compare/7a17a2359423b3dfa6b37e3107e3bd7d0c7bd1ad...4466e874c4596177ffc808db0ea51de1ebf18484

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/proj/-/compare/7a17a2359423b3dfa6b37e3107e3bd7d0c7bd1ad...4466e874c4596177ffc808db0ea51de1ebf18484
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/20230222/f28a2804/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list