summaryrefslogtreecommitdiff
path: root/cad/netgen/files/patch-togl::togl.cpp
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2005-07-17 21:50:28 +0000
committerThierry Thomas <thierry@FreeBSD.org>2005-07-17 21:50:28 +0000
commita3d52947c85cc9ecd6641343054a257dfc8887d9 (patch)
treeba0299c98dc0f6e9fc5eceecbf03f7096bd499d3 /cad/netgen/files/patch-togl::togl.cpp
parentFix the build on FreeBSD 7.x by teach it. I need to contact with mainstream (diff)
Chase TK upgrade and unbreak.
Diffstat (limited to 'cad/netgen/files/patch-togl::togl.cpp')
-rw-r--r--cad/netgen/files/patch-togl::togl.cpp16
1 files changed, 13 insertions, 3 deletions
diff --git a/cad/netgen/files/patch-togl::togl.cpp b/cad/netgen/files/patch-togl::togl.cpp
index bdc42914e223..9716867be853 100644
--- a/cad/netgen/files/patch-togl::togl.cpp
+++ b/cad/netgen/files/patch-togl::togl.cpp
@@ -1,11 +1,21 @@
--- togl/togl.cpp.orig Wed Sep 29 19:48:06 2004
-+++ togl/togl.cpp Wed Nov 17 22:15:57 2004
-@@ -140,6 +140,8 @@
++++ 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
+- 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"