summaryrefslogtreecommitdiff
path: root/homebrew/openscenegraph/patches.sh
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/openscenegraph/patches.sh')
-rwxr-xr-xhomebrew/openscenegraph/patches.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/homebrew/openscenegraph/patches.sh b/homebrew/openscenegraph/patches.sh
new file mode 100755
index 000000000..8c95e1bfb
--- /dev/null
+++ b/homebrew/openscenegraph/patches.sh
@@ -0,0 +1,16 @@
+echo 'Creating brew-patch.diff'
+cat << EOF >> brew-patch.diff
+diff --git a/CMakeModules/FindGtkGl.cmake b/CMakeModules/FindGtkGl.cmake
+index 321cede..6497589 100644
+--- a/CMakeModules/FindGtkGl.cmake
++++ b/CMakeModules/FindGtkGl.cmake
+@@ -10,7 +10,7 @@ IF(PKG_CONFIG_FOUND)
+ IF(WIN32)
+ PKG_CHECK_MODULES(GTKGL gtkglext-win32-1.0)
+ ELSE()
+- PKG_CHECK_MODULES(GTKGL gtkglext-x11-1.0)
++ PKG_CHECK_MODULES(GTKGL gtkglext-quartz-1.0)
+ ENDIF()
+
+ ENDIF()
+EOF