mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 14:56:54 +01:00
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
This commit is contained in:
parent
d5cd82b513
commit
c8d364d978
3 changed files with 16 additions and 1 deletions
|
@ -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 \
|
||||
|
|
|
@ -41,6 +41,7 @@
|
|||
;;; Copyright © 2023 pinoaffe <pinoaffe@gmail.com>
|
||||
;;; Copyright © 2024 Juliana Sims <juli@incana.org>
|
||||
;;; Copyright © 2024 Nguyễn Gia Phong <mcsinyx@disroot.org>
|
||||
;;; Copyright © 2025 Janneke Nieuwenhuizen <janneke@gnu.org>
|
||||
;;;
|
||||
;;; 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"))))
|
||||
|
|
12
gnu/packages/patches/cura-engine-gcc-14.patch
Normal file
12
gnu/packages/patches/cura-engine-gcc-14.patch
Normal file
|
@ -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 <cmath>
|
||||
+#include <cstdint>
|
||||
|
||||
|
||||
//c++11 no longer defines M_PI, so add our own constant.
|
Loading…
Reference in a new issue