forked from pool/cura-engine
Accepting request 1083975 from home:iznogood:factory
- Add add-missing-include.patch: Add missing include <cstdint> OBS-URL: https://build.opensuse.org/request/show/1083975 OBS-URL: https://build.opensuse.org/package/show/science/cura-engine?expand=0&rev=58
This commit is contained in:
parent
551f5f4e9c
commit
31bbe92d89
12
add-missing-include.patch
Normal file
12
add-missing-include.patch
Normal file
@ -0,0 +1,12 @@
|
||||
Index: CuraEngine-4.13.1/src/utils/math.h
|
||||
===================================================================
|
||||
--- CuraEngine-4.13.1.orig/src/utils/math.h
|
||||
+++ CuraEngine-4.13.1/src/utils/math.h
|
||||
@@ -4,6 +4,7 @@
|
||||
#ifndef UTILS_MATH_H
|
||||
#define UTILS_MATH_H
|
||||
|
||||
+#include <cstdint>
|
||||
#include <cmath>
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 2 08:45:11 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||
|
||||
- Add add-missing-include.patch: Add missing include <cstdint>
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 6 21:52:59 UTC 2022 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package cura-engine
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -28,6 +28,8 @@ Source0: https://github.com/Ultimaker/CuraEngine/archive/%{sversion}.tar.
|
||||
Source1: CuraEngine.1
|
||||
# X-OPENSUSE-PATCH fix-build.patch follow openSUSE policies
|
||||
Patch1: fix-build.patch
|
||||
# PATCH-FIX-UPSTREAM add-missing-include.patch -- Add missing include <cstdint>
|
||||
Patch2: add-missing-include.patch
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: gmock
|
||||
@ -48,7 +50,7 @@ It is part of the larger project called "Cura".
|
||||
|
||||
%prep
|
||||
%setup -q -n CuraEngine-%sversion
|
||||
%patch1 -p1
|
||||
%autopatch -p1
|
||||
# the test is hardcoding the version number
|
||||
sed -i -e 's,"master","%{version}",' tests/GCodeExportTest.cpp
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user