New patches from Fedora.
[fedora-mingw.git] / ocaml-lablgl / lablgl-tk8.5.patch
1 diff -ur lablgl-1.03/Togl/src/Togl/togl.c lablgl-1.03.new/Togl/src/Togl/togl.c
2 --- lablgl-1.03/Togl/src/Togl/togl.c    2006-03-23 00:39:27.000000000 +0000
3 +++ lablgl-1.03.new/Togl/src/Togl/togl.c        2008-02-12 18:56:01.000000000 +0000
4 @@ -153,6 +153,8 @@
5  #  include "tkInt8.3.h"
6  #elif TK_MAJOR_VERSION==8 && TK_MINOR_VERSION==4
7  #  include "tkInt8.4.h"
8 +#elif TK_MAJOR_VERSION==8 && TK_MINOR_VERSION==5
9 +#  include "tkInt8.4.h"
10  #else
11     Sorry, you will have to edit togl.c to include the right tkInt.h file
12  #endif