commit: 23dbbaf802b7efe35d1e8a27c0dccff5a7ef5e72
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 22 19:35:25 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jul 22 19:41:07 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23dbbaf8
sci-mathematics/manifold: crank subslot for broken ABI
zen_desu reported openscad not opening:
```
$ openscad
openscad: symbol lookup error: openscad: undefined symbol:
_ZN8manifold11TriangulateERKSt6vectorIS0_IN6linalg3vecIdLi2EEESaIS3_EESaIS5_EEd
```
In 3.1.0, ABI broke:
```
--- ...
+++ include/manifold/polygon.h 2025-05-14 20:50:31.000000000 +0100
@@ -52,10 +52,10 @@ using PolygonsIdx = std::vector<SimplePo
* @brief Polygon triangulation
* @{
*/
-std::vector<ivec3> TriangulateIdx(const PolygonsIdx &polys, double epsilon =
-1,
+std::vector<ivec3> TriangulateIdx(const PolygonsIdx& polys, double epsilon =
-1,
bool allowConvex = true);
-std::vector<ivec3> Triangulate(const Polygons &polygons, double epsilon = -1,
+std::vector<ivec3> Triangulate(const Polygons& polygons, double epsilon = -1,
bool allowConvex = true);
/** @} */
} // namespace manifold
```
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../manifold/{manifold-3.1.0.ebuild => manifold-3.1.0-r1.ebuild} | 2 +-
sci-mathematics/manifold/manifold-9999.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sci-mathematics/manifold/manifold-3.1.0.ebuild
b/sci-mathematics/manifold/manifold-3.1.0-r1.ebuild
similarity index 99%
rename from sci-mathematics/manifold/manifold-3.1.0.ebuild
rename to sci-mathematics/manifold/manifold-3.1.0-r1.ebuild
index 2ae1d1bc7f87..6c93ca954272 100644
--- a/sci-mathematics/manifold/manifold-3.1.0.ebuild
+++ b/sci-mathematics/manifold/manifold-3.1.0-r1.ebuild
@@ -25,7 +25,7 @@ else
fi
LICENSE="Apache-2.0"
-SLOT="0"
+SLOT="0/1"
IUSE="debug python +tbb test"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
diff --git a/sci-mathematics/manifold/manifold-9999.ebuild
b/sci-mathematics/manifold/manifold-9999.ebuild
index 2854b6b9e837..2f9ced603aae 100644
--- a/sci-mathematics/manifold/manifold-9999.ebuild
+++ b/sci-mathematics/manifold/manifold-9999.ebuild
@@ -25,7 +25,7 @@ else
fi
LICENSE="Apache-2.0"
-SLOT="0"
+SLOT="0/1"
IUSE="debug python +tbb test"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"