summaryrefslogtreecommitdiffstats
path: root/cad/netgen/files
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2005-07-17 21:50:28 +0000
committerthierry <thierry@FreeBSD.org>2005-07-17 21:50:28 +0000
commit15798f9403d7e0ef7677fd6917dedef20c7ec01f (patch)
treefc673c900af6857738d90e0ea193242cd6024296 /cad/netgen/files
parenta637506b27372cc7aa18796481466841741cd680 (diff)
downloadFreeBSD-ports-15798f9403d7e0ef7677fd6917dedef20c7ec01f.zip
FreeBSD-ports-15798f9403d7e0ef7677fd6917dedef20c7ec01f.tar.gz
Chase TK upgrade and unbreak.
Diffstat (limited to 'cad/netgen/files')
-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 bdc4291..9716867 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"
OpenPOWER on IntegriCloud