View | Details | Raw Unified | Return to bug 255363 | Differences between
and this patch

Collapse All | Expand All

(-)PrusaSlicer/Makefile (-2 / +2 lines)
Lines 1-7 Link Here
1
PORTNAME=	PrusaSlicer
1
PORTNAME=	PrusaSlicer
2
DISTVERSIONPREFIX=version_
2
DISTVERSIONPREFIX=version_
3
DISTVERSION=	2.3.0
3
DISTVERSION=	2.3.1
4
PORTREVISION=	4
4
PORTREVISION=	1
5
CATEGORIES=	cad
5
CATEGORIES=	cad
6
6
7
MAINTAINER=	teodorsigaev@gmail.com
7
MAINTAINER=	teodorsigaev@gmail.com
(-)PrusaSlicer/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1610441839
1
TIMESTAMP = 1618914019
2
SHA256 (prusa3d-PrusaSlicer-version_2.3.0_GH0.tar.gz) = cd3bac5e29b5441fc4690f28cd7b1064e97dc00207bbdc88f7bd7832308d6ca5
2
SHA256 (prusa3d-PrusaSlicer-version_2.3.1_GH0.tar.gz) = c1315826d07f428dfe4b9aa6325727beb1257aa6f711d1659a2760f8e213cd51
3
SIZE (prusa3d-PrusaSlicer-version_2.3.0_GH0.tar.gz) = 34785471
3
SIZE (prusa3d-PrusaSlicer-version_2.3.1_GH0.tar.gz) = 39583385
(-)PrusaSlicer/files/patch-CMakeLists.txt (-3 / +3 lines)
Lines 1-4 Link Here
1
--- CMakeLists.txt.orig	2021-01-11 13:01:51 UTC
1
--- CMakeLists.txt.orig	2021-04-16 11:41:00 UTC
2
+++ CMakeLists.txt
2
+++ CMakeLists.txt
3
@@ -3,6 +3,7 @@ project(PrusaSlicer)
3
@@ -3,6 +3,7 @@ project(PrusaSlicer)
4
 
4
 
Lines 8-14 Link Here
8
 
8
 
9
 set(SLIC3R_RESOURCES_DIR "${CMAKE_CURRENT_SOURCE_DIR}/resources")
9
 set(SLIC3R_RESOURCES_DIR "${CMAKE_CURRENT_SOURCE_DIR}/resources")
10
 file(TO_NATIVE_PATH "${SLIC3R_RESOURCES_DIR}" SLIC3R_RESOURCES_DIR_WIN)
10
 file(TO_NATIVE_PATH "${SLIC3R_RESOURCES_DIR}" SLIC3R_RESOURCES_DIR_WIN)
11
@@ -154,7 +155,7 @@ if (APPLE)
11
@@ -166,7 +167,7 @@ if (APPLE)
12
     endif ()
12
     endif ()
13
 endif ()
13
 endif ()
14
 
14
 
Lines 17-23 Link Here
17
     find_package(PkgConfig REQUIRED)
17
     find_package(PkgConfig REQUIRED)
18
 
18
 
19
     if (CMAKE_VERSION VERSION_LESS "3.1")
19
     if (CMAKE_VERSION VERSION_LESS "3.1")
20
@@ -513,8 +514,8 @@ elseif (SLIC3R_FHS)
20
@@ -525,8 +526,8 @@ elseif (SLIC3R_FHS)
21
     # CMAKE_INSTALL_FULL_DATAROOTDIR: read-only architecture-independent data root (share)
21
     # CMAKE_INSTALL_FULL_DATAROOTDIR: read-only architecture-independent data root (share)
22
     set(SLIC3R_FHS_RESOURCES "${CMAKE_INSTALL_FULL_DATAROOTDIR}/PrusaSlicer")
22
     set(SLIC3R_FHS_RESOURCES "${CMAKE_INSTALL_FULL_DATAROOTDIR}/PrusaSlicer")
23
     install(DIRECTORY "${SLIC3R_RESOURCES_DIR}/" DESTINATION "${SLIC3R_FHS_RESOURCES}")
23
     install(DIRECTORY "${SLIC3R_RESOURCES_DIR}/" DESTINATION "${SLIC3R_FHS_RESOURCES}")
(-)PrusaSlicer/files/patch-src_libslic3r_CMakeLists.txt (-2 / +2 lines)
Lines 1-6 Link Here
1
--- src/libslic3r/CMakeLists.txt.orig	2021-02-16 20:42:21 UTC
1
--- src/libslic3r/CMakeLists.txt.orig	2021-04-16 11:41:00 UTC
2
+++ src/libslic3r/CMakeLists.txt
2
+++ src/libslic3r/CMakeLists.txt
3
@@ -297,7 +297,6 @@ target_include_directories(libslic3r PUBLIC ${EXPAT_IN
3
@@ -299,7 +299,6 @@ target_include_directories(libslic3r PUBLIC ${EXPAT_IN
4
 target_link_libraries(libslic3r
4
 target_link_libraries(libslic3r
5
     libnest2d
5
     libnest2d
6
     admesh
6
     admesh
(-)PrusaSlicer/files/patch-src_libslic3r_Platform.cpp (+13 lines)
Line 0 Link Here
1
--- src/libslic3r/Platform.cpp.orig	2021-04-20 12:16:52 UTC
2
+++ src/libslic3r/Platform.cpp
3
@@ -49,6 +49,10 @@ void detect_platform()
4
     BOOST_LOG_TRIVIAL(info) << "Platform: OpenBSD";
5
 	s_platform 		  = Platform::BSDUnix;
6
 	s_platform_flavor = PlatformFlavor::OpenBSD;
7
+#elif defined(__FreeBSD__)
8
+    BOOST_LOG_TRIVIAL(info) << "Platform: FreeBSD";
9
+	s_platform 		  = Platform::BSDUnix;
10
+	s_platform_flavor = PlatformFlavor::FreeBSD;
11
 #else
12
 	// This should not happen.
13
     BOOST_LOG_TRIVIAL(info) << "Platform: Unknown";
(-)PrusaSlicer/files/patch-src_libslic3r_Platform.hpp (+10 lines)
Line 0 Link Here
1
--- src/libslic3r/Platform.hpp.orig	2021-04-20 12:26:01 UTC
2
+++ src/libslic3r/Platform.hpp
3
@@ -28,6 +28,7 @@ enum class PlatformFlavor
4
 	WSL2,
5
 	// For Platform::BSDUnix
6
 	OpenBSD,
7
+	FreeBSD,
8
 };
9
 
10
 // To be called on program start-up.

Return to bug 255363