Debian Patches

Status for s2geometry/0.10.0-6.1

Patch Description Author Forwarded Bugs Origin Last update
0001-Use-python-version-as-specified-by-PYVER.patch [PATCH] Use python version as specified by PYVER
To build for all python versions we use the python version as requested by
pybuild.
Sebastian Spaeth <Sebastian@SSpaeth.de> no 2022-10-27
0002-Fix-s390x-FTBFS-Fix-elif.patch [PATCH] Fix s390x FTBFS: Fix #elif
ifdef DEFINED: ... elif UNDEFINED: ... else: Bail out....

does not work, we need

ifdef DEFINED:
...
elif defined(UNDEFINED):
...
else:
bail out...

This has been rectified post-release upstream, so we can remove
this patch after the next proper upstream release.
Sebastian Spaeth <Sebastian@SSpaeth.de> no 2022-11-15
0003-Drop-constexpr-it-is-not-const-on-ppc64el.patch Drop constexpr, it is not const on ppc64el
/<<PKGBUILDDIR>>/src/s2/s2edge_crossings.cc: In instantiation of ‘bool S2::internal::GetStableCrossProd(const Vector3<T>&, const Vector3<T>&, Vector3<T>*) [with T = long double]’:
/<<PKGBUILDDIR>>/src/s2/s2edge_crossings.cc:127:54: required from here
/<<PKGBUILDDIR>>/src/s2/s2edge_crossings.cc:115:31: error: ‘(6.15348059642740421245081038903225e-15l / 5.40431955284459475358983848622456e+16l)’ is not a constant expression
115 | (32 * kSqrt3 * DBL_ERR) /
| ~~~~~~~~~~~~~~~~~~~~~~~~^
116 | (kRobustCrossProdError.radians() / T_ERR - (1 + 2 * kSqrt3));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/s2/s2edge_crossings.cc: In instantiation of ‘bool S2::GetIntersectionSimple(const Vector3<T>&, const Vector3<T>&, const Vector3<T>&, const Vector3<T>&, Vector3<T>*) [with T = long double]’:
/<<PKGBUILDDIR>>/src/s2/s2edge_crossings.cc:485:28: required from here
/<<PKGBUILDDIR>>/src/s2/s2edge_crossings.cc:458:10: error: ‘(1.2e+1l / 7.20575940379279305358983848622456e+16l)’ is not a constant expression
458 | 12 / (kIntersectionError.radians() / T_ERR - (2 + 2 * kSqrt3));
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

From:

https://buildd.debian.org/status/fetch.php?pkg=s2geometry&arch=ppc64el&ver=0.10.0-2&stamp=1667081576&raw=0

Reported upstream:

https://github.com/google/s2geometry/issues/279
Jochen Sprickerhof <jspricke@debian.org> no 2022-11-15
0004-Fix-nonvoid-function-can-return-void-warning.patch [PATCH] Fix nonvoid function can return void warning
The switch statements checks all possible ENUM values,
so let's silence the compiler.
Sebastian Spaeth <Sebastian@SSpaeth.de> no 2022-11-18

All known versions for source package 's2geometry'

Links