diff options
author | Niels Horn <niels.horn@gmail.com> | 2013-11-20 19:22:19 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-11-20 19:22:19 -0600 |
commit | 5ee5750d3b9945226a4c331980dcd2c5e8200227 (patch) | |
tree | 32a3a0e3e77d2ea3abaa3ecc8fbc81bf88ca18f5 /graphics/LDView/LDView_GL.patch | |
parent | f93175a14253e4f29de140176894672d92a5e1da (diff) |
graphics/LDView: Go back to version 4.1 and build correctly
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'graphics/LDView/LDView_GL.patch')
-rw-r--r-- | graphics/LDView/LDView_GL.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/LDView/LDView_GL.patch b/graphics/LDView/LDView_GL.patch new file mode 100644 index 0000000000000..355d5ef04c4a0 --- /dev/null +++ b/graphics/LDView/LDView_GL.patch @@ -0,0 +1,11 @@ +--- LDView-4.1/TRE/TREGLExtensions.cpp 2008-10-25 23:33:34.000000000 -0200 ++++ LDView-4.1_patched/TRE/TREGLExtensions.cpp 2013-11-20 22:34:37.069129226 -0200 +@@ -193,7 +193,7 @@ + // the function pointers won't be loaded. + if (haveVARExtension(true)) + { +-#ifndef __APPLE__ ++#ifdef WIN32 + // NOTE: I should really change the __APPLE__ path to do their + // equivalent of wglGetProcAddress. However, since this extension won't + // work anyway without a bunch of glX stuff that I'm not going to do, |