aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cad/PrusaSlicer/Makefile2
-rw-r--r--cad/PrusaSlicer/files/patch-src_slic3r_GUI_OpenGLManager.cpp12
2 files changed, 13 insertions, 1 deletions
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@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)