diff options
Diffstat (limited to 'graphics/py-opengl/files')
-rw-r--r-- | graphics/py-opengl/files/patch-ad | 6 | ||||
-rw-r--r-- | graphics/py-opengl/files/patch-src::Togl-1.5::togl.c | 11 |
2 files changed, 14 insertions, 3 deletions
diff --git a/graphics/py-opengl/files/patch-ad b/graphics/py-opengl/files/patch-ad index aaf341f715a6..b26948c4567a 100644 --- a/graphics/py-opengl/files/patch-ad +++ b/graphics/py-opengl/files/patch-ad @@ -20,9 +20,9 @@ $FreeBSD$ + pass + def getvar(self, varname): + if varname == 'tk_version' or varname == 'tcl_version': -+ return '8.3' ++ return '8.4' + if varname == 'tcl_library': -+ return '%%LOCALBASE%%/lib/tcl8.3' ++ return '%%LOCALBASE%%/lib/tcl8.4' + if varname == 'tk_library': -+ return '%%LOCALBASE%%/lib/tk8.3' ++ return '%%LOCALBASE%%/lib/tk8.4' + return '' diff --git a/graphics/py-opengl/files/patch-src::Togl-1.5::togl.c b/graphics/py-opengl/files/patch-src::Togl-1.5::togl.c new file mode 100644 index 000000000000..86dfe52dad05 --- /dev/null +++ b/graphics/py-opengl/files/patch-src::Togl-1.5::togl.c @@ -0,0 +1,11 @@ +--- src/Togl-1.5/togl.c.bak Tue May 15 07:55:19 2001 ++++ src/Togl-1.5/togl.c Wed Aug 20 19:21:01 2003 +@@ -137,6 +137,8 @@ + # include "tkInt8.0p2.h" + #elif TK_MAJOR_VERSION==8 && TK_MINOR_VERSION==3 + # include "tkInt8.3.h" ++#elif TK_MAJOR_VERSION==8 && TK_MINOR_VERSION==4 ++# include "tkInt8.4.h" + #else + #error Sorry, you will have to edit togl.c to include the right tkInt.h file + #endif |