1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-07-17 09:19:15 -04:00
ports/cad/netgen/files/patch-togl::togl.cpp
2005-07-17 21:50:28 +00:00

21 lines
840 B
C++

--- togl/togl.cpp.orig Wed Sep 29 19:48:06 2004
+++ togl/togl.cpp Sun Jul 17 22:22:17 2005
@@ -140,12 +140,16 @@
# include "tkInt8.4p4.h"
#elif TK_MAJOR_VERSION==8 && TK_MINOR_VERSION==4 && TK_RELEASE_SERIAL==6
# include "tkInt8.4p6.h"
+#elif TK_MAJOR_VERSION==8 && TK_MINOR_VERSION==4 && TK_RELEASE_SERIAL==7
+# include "tkInt8.4p6.h"
+#elif TK_MAJOR_VERSION==8 && TK_MINOR_VERSION==4 && TK_RELEASE_SERIAL==11
+# include "tkInt8.4p6.h"
#else
- Sorry, you will have to edit togl.c to include the right tkInt.h file
+ #error Sorry, you will have to edit togl.c to include the right tkInt.h file
#endif
#elif defined(WIN32)
#if TK_MAJOR_VERSION<8
- Sorry Windows version requires Tcl/Tk ver 8.0 or higher.
+ #error Sorry Windows version requires Tcl/Tk ver 8.0 or higher.
#endif
#include "tkInt.h"
#include "tkWinInt.h"