[packages/CuraEngine] - added includes patch (missing include)

qboosh qboosh at pld-linux.org
Thu Oct 3 19:47:47 CEST 2024


commit 87694fcb0a881188afc60a8320207fac39a3de81
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Oct 3 19:32:30 2024 +0200

    - added includes patch (missing include)

 CuraEngine-includes.patch | 10 ++++++++++
 CuraEngine.spec           |  2 ++
 2 files changed, 12 insertions(+)
---
diff --git a/CuraEngine.spec b/CuraEngine.spec
index f8ce1e1..621b85f 100644
--- a/CuraEngine.spec
+++ b/CuraEngine.spec
@@ -16,6 +16,7 @@ Source0:	https://github.com/Ultimaker/CuraEngine/archive/%{version}/%{name}-%{ve
 # Source0-md5:	85b46d4282dc061345d4efda822fae19
 Source1:	https://raw.githubusercontent.com/nothings/stb/master/stb_image.h
 # Source1-md5:	27932e6fb3a2f26aee2fc33f2cb4e696
+Patch0:		%{name}-includes.patch
 Patch1:		%{name}-static-libstdcpp.patch
 Patch2:		local-stb.patch
 URL:		https://github.com/Ultimaker/CuraEngine
@@ -51,6 +52,7 @@ pakiecie cura.
 
 %prep
 %setup -q
+%patch0 -p1
 %patch1 -p1
 %patch2 -p1
 
diff --git a/CuraEngine-includes.patch b/CuraEngine-includes.patch
new file mode 100644
index 0000000..e1886c5
--- /dev/null
+++ b/CuraEngine-includes.patch
@@ -0,0 +1,10 @@
+--- CuraEngine-4.13.2/src/utils/math.h.orig	2024-10-03 19:24:17.977453965 +0200
++++ CuraEngine-4.13.2/src/utils/math.h	2024-10-03 19:26:01.611385598 +0200
+@@ -5,6 +5,7 @@
+ #define UTILS_MATH_H
+ 
+ #include <cmath>
++#include <cstdint>
+ 
+ 
+ //c++11 no longer defines M_PI, so add our own constant.
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/CuraEngine.git/commitdiff/87694fcb0a881188afc60a8320207fac39a3de81



More information about the pld-cvs-commit mailing list