From 5ee5750d3b9945226a4c331980dcd2c5e8200227 Mon Sep 17 00:00:00 2001 From: Niels Horn Date: Wed, 20 Nov 2013 19:22:19 -0600 Subject: graphics/LDView: Go back to version 4.1 and build correctly Signed-off-by: Robby Workman --- graphics/LDView/LDView_GL.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 graphics/LDView/LDView_GL.patch (limited to 'graphics/LDView/LDView_GL.patch') diff --git a/graphics/LDView/LDView_GL.patch b/graphics/LDView/LDView_GL.patch new file mode 100644 index 0000000000..355d5ef04c --- /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, -- cgit v1.2.3-80-g2a13