Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (2)
Add patch to fix height_unit() in proj_transform.c.
· 992f4472
Bas Couwenberg
authored
Mar 09, 2018
992f4472
Set distribution to experimental.
· 799d3118
Bas Couwenberg
authored
Mar 09, 2018
799d3118
Show whitespace changes
Inline
Side-by-side
debian/changelog
View file @
799d3118
proj (5.0.0-3~exp2) experimental; urgency=medium
* Add patch to fix height_unit() in proj_transform.c.
-- Bas Couwenberg <sebastic@debian.org> Fri, 09 Mar 2018 12:20:41 +0100
proj (5.0.0-3~exp1) experimental; urgency=medium
* Add upstream patches to fix regressions in 5.0.0:
...
...
debian/patches/pj_transform-height_unit.patch
0 → 100644
View file @
799d3118
Description: Fix height_unit() in proj_transform.c.
Author: Bas Couwenberg <sebastic@debian.org>
Forwarded: https://github.com/OSGeo/proj.4/pull/845#issuecomment-371785556
--- a/src/pj_transform.c
+++ b/src/pj_transform.c
@@ -397,7 +397,10 @@
static int height_unit (PJ *P, PJ_DIRECT
fac = P->vfr_meter;
/* Nothing to do? */
- if (P->vto_meter==0.0)
+ if (fac == 1.0)
+ return 0;
+
+ if (z == NULL)
return 0;
for (i = 0; i < n; i++)
debian/patches/series
View file @
799d3118
0001-Revert-fix-to-22.patch
pr845_Refactor-pj_transform-reintroduce-support-for-vertical-scaling.patch
pj_transform-height_unit.patch