diff --git a/gnu/local.mk b/gnu/local.mk index 133e1247a6..50bf6bc994 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1145,6 +1145,7 @@ dist_patch_DATA = \ %D%/packages/patches/csvkit-set-locale-for-tests.patch \ %D%/packages/patches/cube-nocheck.patch \ %D%/packages/patches/cups-minimal-Address-PPD-injection-issues.patch \ + %D%/packages/patches/cura-engine-gcc-14.patch \ %D%/packages/patches/curl-CVE-2024-8096.patch \ %D%/packages/patches/curl-use-ssl-cert-env.patch \ %D%/packages/patches/curlftpfs-fix-error-closing-file.patch \ diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 5a93227e2a..c445597f3e 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -41,6 +41,7 @@ ;;; Copyright © 2023 pinoaffe ;;; Copyright © 2024 Juliana Sims ;;; Copyright © 2024 Nguyễn Gia Phong +;;; Copyright © 2025 Janneke Nieuwenhuizen ;;; ;;; This file is part of GNU Guix. ;;; @@ -4257,13 +4258,14 @@ (define-public libarcus (define-public cura-engine (package (name "cura-engine") - (version "4.13.1") + (version "4.13.2") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/Ultimaker/CuraEngine") (commit version))) + (patches (search-patches "cura-engine-gcc-14.patch")) (file-name (git-file-name name version)) (sha256 (base32 "0xp2r0m5wwfsh9wdb3biqzvfqfz5jsmyw4bww93aksw0rgli07bp")))) diff --git a/gnu/packages/patches/cura-engine-gcc-14.patch b/gnu/packages/patches/cura-engine-gcc-14.patch new file mode 100644 index 0000000000..e28f228072 --- /dev/null +++ b/gnu/packages/patches/cura-engine-gcc-14.patch @@ -0,0 +1,12 @@ +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 ++#include + + + //c++11 no longer defines M_PI, so add our own constant.