MINGW-packages/mingw-w64-OpenSceneGraph/additional-gl-header.patch
Christoph Reiter 4d8828efed Make pkgbase of all packages match the name of the PKGBUILD directory (#2878)
This either changes the pkgbase to match the directory name
or the other way around.

The motivation for this is to make it possible to automatically generate
an URL to the PKGBUILD file from the package information alone.
2017-09-12 14:25:41 +03:00

12 lines
636 B
Diff

--- OpenSceneGraph/CMakeLists.txt.orig 2015-01-25 14:09:28.105400000 +0300
+++ OpenSceneGraph/CMakeLists.txt 2015-01-25 14:09:37.496600000 +0300
@@ -508,7 +508,7 @@
SET(OPENGL_HEADER2 "" CACHE STRING "#include<> line for additional OpenGL Headers if required")
ELSE()
SET(OPENGL_HEADER1 "#include <GL/gl.h>" CACHE STRING "#include<> line for OpenGL Header")
- SET(OPENGL_HEADER2 "" CACHE STRING "#include<> line for additional OpenGL Headers if required")
+ SET(OPENGL_HEADER2 "#include <GL/glext.h>" CACHE STRING "#include<> line for additional OpenGL Headers if required")
ENDIF()
ENDIF()