guix-mirrors/gnu/packages/patches/cura-engine-gcc-14.patch
Janneke Nieuwenhuizen 7efaaa0da1
gnu: cura-engine: Fix build with gcc-14.
* gnu/packages/patches/cura-engine-gcc-14.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/engineering.scm: Use it.

Change-Id: Icb77a9a67c79372c16e607038c185d22fc20d122
2025-07-18 20:17:22 +02:00

12 lines
352 B
Diff

Upstream-status: Not presented upstream.
--- cura-engine-4.13.2-checkout/src/utils/math.h 1970-01-01 01:00:01.000000000 +0100
+++ cura-engine-4.13.2-checkout/src/utils/math.h 2025-01-03 10:42:38.726345314 +0100
@@ -5,6 +5,7 @@
#define UTILS_MATH_H
#include <cmath>
+#include <cstdint>
//c++11 no longer defines M_PI, so add our own constant.