summaryrefslogtreecommitdiffstats
path: root/src/vtk6-3-optional-osmesa.patch
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2013-08-28 10:23:28 (GMT)
committerTony Theodore <tonyt@logyst.com>2013-08-28 10:23:28 (GMT)
commit6fcf4fca463820b59c47a113ff99f84b8aa45d83 (patch)
tree6f5a89522ea3dd4687546509ef75d8c71a338678 /src/vtk6-3-optional-osmesa.patch
parent6704011d2fd42cb9ebadb1336a073b13147e938e (diff)
downloadmxe-6fcf4fca463820b59c47a113ff99f84b8aa45d83.zip
mxe-6fcf4fca463820b59c47a113ff99f84b8aa45d83.tar.gz
mxe-6fcf4fca463820b59c47a113ff99f84b8aa45d83.tar.bz2
Revert "package vtk6: fix for standalone native build without rendering"
This reverts commit b7a8dc442fb51e156827e26c03c52a99b09912ed.
Diffstat (limited to 'src/vtk6-3-optional-osmesa.patch')
-rw-r--r--src/vtk6-3-optional-osmesa.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/vtk6-3-optional-osmesa.patch b/src/vtk6-3-optional-osmesa.patch
new file mode 100644
index 0000000..37625b3
--- /dev/null
+++ b/src/vtk6-3-optional-osmesa.patch
@@ -0,0 +1,14 @@
+# This file is part of MXE.
+# See index.html for further information.
+
+--- VTK6.0.0/Rendering/OpenGL/CMakeLists.txt 2013-06-12 21:47:10.000000000 +0200
++++ VTK6.0.0/Rendering/OpenGL/CMakeLists.txt 2013-08-27 13:15:06.770690266 +0200
+@@ -29,7 +29,7 @@
+ if(VTK_USE_X OR VTK_USE_CARBON OR VTK_USE_COCOA OR WIN32)
+ set(VTK_USE_OSMESA FALSE)
+ else()
+- set(VTK_USE_OSMESA TRUE)
++ option(VTK_USE_OSMESA "Use OSMesa for VTK render windows" ON)
+ endif()
+
+ # FIXME: The TDx support needs some refactoring before we can build it in a