SOURCES: ocaml-lablgl-tk85.patch (NEW) - fix build with tk 8.5

qboosh qboosh at pld-linux.org
Sat Dec 9 01:50:27 CET 2006


Author: qboosh                       Date: Sat Dec  9 00:50:27 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix build with tk 8.5

---- Files affected:
SOURCES:
   ocaml-lablgl-tk85.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/ocaml-lablgl-tk85.patch
diff -u /dev/null SOURCES/ocaml-lablgl-tk85.patch:1.1
--- /dev/null	Sat Dec  9 01:50:27 2006
+++ SOURCES/ocaml-lablgl-tk85.patch	Sat Dec  9 01:50:22 2006
@@ -0,0 +1,11 @@
+--- lablgl-1.02/Togl/src/Togl/togl.c.orig	2004-11-02 08:03:34.000000000 +0100
++++ lablgl-1.02/Togl/src/Togl/togl.c	2006-12-09 01:41:38.907716138 +0100
+@@ -148,6 +148,8 @@
+ #  include "tkInt8.3.h"
+ #elif TK_MAJOR_VERSION==8 && TK_MINOR_VERSION==4
+ #  include "tkInt8.4.h"
++#elif TK_MAJOR_VERSION==8 && TK_MINOR_VERSION==5
++#  include <tk-private/generic/tkInt.h>
+ #else
+    Sorry, you will have to edit togl.c to include the right tkInt.h file
+ #endif
================================================================


More information about the pld-cvs-commit mailing list