mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02: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:
committed by
Andreas Enge
parent
82cc581995
commit
7efaaa0da1
@@ -1170,6 +1170,7 @@ dist_patch_DATA = \
|
||||
%D%/packages/patches/ctranslate2-local-build.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 \
|
||||
|
||||
@@ -44,6 +44,7 @@
|
||||
;;; Copyright © 2025 Frederick Muriuki Muriithi <fredmanglis@gmail.com>
|
||||
;;; Copyright © 2025 nomike Postmann <nomike@nomike.com>
|
||||
;;; Copyright © 2025 Matthew Elwin <elwin@northwestern.edu>
|
||||
;;; Copyright © 2025 Janneke Nieuwenhuizen <janneke@gnu.org>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
@@ -4774,13 +4775,14 @@ facilitate the communication between Cura and its backend and similar code.")
|
||||
(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.
|
||||
Reference in New Issue
Block a user