gentoo-ebuilds/sci-mathematics/mathmod/files/mathmod-13.0-missing_include.patch
Nicolas PARLANT 8a76450ae9
sci-mathematics/mathmod: fix gcc-16/gnu++20
lerp is declared globally with c++20 which is by default with gcc-16 and
allowed by qt-6.10

Closes: https://bugs.gentoo.org/967323
Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
Part-of: https://github.com/gentoo/gentoo/pull/44999
Closes: https://github.com/gentoo/gentoo/pull/44999
Signed-off-by: Sam James <sam@gentoo.org>
2025-12-15 16:23:17 +00:00

26 lines
537 B
Diff

PR merged https://github.com/parisolab/mathmod/pull/288.patch
fix compile w/ qt-6.10.0
move <QElapsedTimer> in header
--- a/pariso/isosurface/Iso3D.cpp
+++ b/pariso/isosurface/Iso3D.cpp
@@ -20,7 +20,6 @@
#include "TableMap.h"
#include "Iso3D.h"
#include "internalfunctions.cpp"
-#include <QElapsedTimer>
double * Iso3D::Results;
Voxel * Iso3D::GridVoxelVarPt;
--- a/pariso/isosurface/Iso3D.h
+++ b/pariso/isosurface/Iso3D.h
@@ -21,6 +21,7 @@
#include "../parisoobject.h"
+#include <QElapsedTimer>
/*
--
2.51.0