git: b519599f3785 - main - cad/PrusaSlicer: 3D view not rendered
Fernando Apesteguía
fernape at FreeBSD.org
Wed Aug 4 16:40:33 UTC 2021
The branch main has been updated by fernape:
URL: https://cgit.FreeBSD.org/ports/commit/?id=b519599f37853728e94aba3d2c3c9d0d1022a512
commit b519599f37853728e94aba3d2c3c9d0d1022a512
Author: Fernando Apesteguía <fernape at FreeBSD.org>
AuthorDate: 2021-08-04 09:58:32 +0000
Commit: Fernando Apesteguía <fernape at FreeBSD.org>
CommitDate: 2021-08-04 16:36:02 +0000
cad/PrusaSlicer: 3D view not rendered
Apply a hack to fix this issue until this is sorted out upstream.
Bump PORTREVISION
See https://github.com/prusa3d/PrusaSlicer/issues/6396
PR: 255690
Reported by: a.parseg at gmail.com
Tested by: a.parseg at gmail.com, mr@, teodorsigaev at gmail.com
---
cad/PrusaSlicer/Makefile | 2 +-
cad/PrusaSlicer/files/patch-src_slic3r_GUI_OpenGLManager.cpp | 12 ++++++++++++
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/cad/PrusaSlicer/Makefile b/cad/PrusaSlicer/Makefile
index 11926ada11cd..9684196c921b 100644
--- a/cad/PrusaSlicer/Makefile
+++ b/cad/PrusaSlicer/Makefile
@@ -1,7 +1,7 @@
PORTNAME= PrusaSlicer
DISTVERSIONPREFIX=version_
DISTVERSION= 2.3.0
-PORTREVISION= 10
+PORTREVISION= 11
CATEGORIES= cad
MAINTAINER= teodorsigaev at gmail.com
diff --git a/cad/PrusaSlicer/files/patch-src_slic3r_GUI_OpenGLManager.cpp b/cad/PrusaSlicer/files/patch-src_slic3r_GUI_OpenGLManager.cpp
new file mode 100644
index 000000000000..ede8451a494f
--- /dev/null
+++ b/cad/PrusaSlicer/files/patch-src_slic3r_GUI_OpenGLManager.cpp
@@ -0,0 +1,12 @@
+--- src/slic3r/GUI/OpenGLManager.cpp.orig 2021-08-03 16:17:35 UTC
++++ src/slic3r/GUI/OpenGLManager.cpp
+@@ -237,7 +237,8 @@ bool OpenGLManager::init_gl()
+ if (!m_gl_initialized) {
+ if (glewInit() != GLEW_OK) {
+ BOOST_LOG_TRIVIAL(error) << "Unable to init glew library";
+- return false;
++ /* Ugly fix for https://github.com/prusa3d/PrusaSlicer/issues/6396 */
++ //return false;
+ }
+ m_gl_initialized = true;
+ if (GLEW_EXT_texture_compression_s3tc)
More information about the dev-commits-ports-all
mailing list