]> git.pld-linux.org Git - packages/CuraEngine.git/commitdiff
- updated static-libstdcpp patch is back; release 3 auto/th/CuraEngine-4.5.0-3
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 27 Sep 2020 09:41:54 +0000 (11:41 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 27 Sep 2020 09:41:54 +0000 (11:41 +0200)
CuraEngine-static-libstdcpp.patch
CuraEngine.spec

index 273016f460a8ad8ba8f56ee99224f746ab8af249..b35bd506f3cab83ef9f7b12631889cda8b6988de 100644 (file)
@@ -11,17 +11,17 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt
 index 1ec537d..bc5cf85 100644
 --- a/CMakeLists.txt
 +++ b/CMakeLists.txt
-@@ -36,10 +36,6 @@ endif()
- # Add warnings
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall")
+@@ -97,10 +97,6 @@
+     endif()
endif ()
  
 -if(NOT APPLE AND NOT WIN32)
 -    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static-libstdc++")
 -endif()
 -
- option (ENABLE_OPENMP
-     "Use OpenMP for parallel code" ON)
+ if (WIN32)
+     add_definitions(-DNOMINMAX)
+ endif()
 -- 
 2.11.0
 
index 92158bbfcd31ee49dc1503974a3c1c77f259fb11..91570a1a68fed6d93637af205ce26cf0f180f7c1 100644 (file)
@@ -6,7 +6,7 @@ Summary:        Engine for processing 3D models into G-code instructions for 3D printer
 Summary(pl.UTF-8):     Silnik do przetwarzania modeli 3D na instrukcje G-code dla drukarek 3D
 Name:          CuraEngine
 Version:       4.5.0
-Release:       2
+Release:       3
 Epoch:         1
 License:       AGPL v3
 Group:         Applications/Engineering
@@ -16,9 +16,10 @@ Source0:     https://github.com/Ultimaker/CuraEngine/archive/%{version}/%{name}-%{ve
 Source1:       https://raw.githubusercontent.com/nothings/stb/master/stb_image.h
 # Source1-md5: a1170ba8b5f36154a8b9859f17ee8470
 Patch0:                %{name}-rpath.patch
+Patch1:                %{name}-static-libstdcpp.patch
 Patch2:                local-stb.patch
 URL:           https://github.com/Ultimaker/CuraEngine
-BuildRequires: cmake >= 2.8.12
+BuildRequires: cmake >= 3.6.0
 BuildRequires: libArcus-devel = %{version}
 BuildRequires: libgomp-devel
 BuildRequires: libstdc++-devel >= 6:4.7
@@ -49,6 +50,7 @@ pakiecie cura.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 %patch2 -p1
 
 mkdir stb
This page took 0.26138 seconds and 4 git commands to generate.