aboutsummaryrefslogtreecommitdiffstats
path: root/cad/netgen/files
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2007-01-26 07:55:45 +0800
committerpav <pav@FreeBSD.org>2007-01-26 07:55:45 +0800
commit190368f3c3997b403ec594f1e69713c664c2fd16 (patch)
tree2e39826a4d3db70e7783562e6cc3b5942a2d8efc /cad/netgen/files
parentd640321b5528462a131421c2cfb095f134c357d6 (diff)
downloadfreebsd-ports-gnome-190368f3c3997b403ec594f1e69713c664c2fd16.tar.gz
freebsd-ports-gnome-190368f3c3997b403ec594f1e69713c664c2fd16.tar.zst
freebsd-ports-gnome-190368f3c3997b403ec594f1e69713c664c2fd16.zip
- Fix build with tk 8.4.14
Diffstat (limited to 'cad/netgen/files')
-rw-r--r--cad/netgen/files/patch-togl::togl.cpp15
1 files changed, 6 insertions, 9 deletions
diff --git a/cad/netgen/files/patch-togl::togl.cpp b/cad/netgen/files/patch-togl::togl.cpp
index bbd05f3e06be..c260846edd20 100644
--- a/cad/netgen/files/patch-togl::togl.cpp
+++ b/cad/netgen/files/patch-togl::togl.cpp
@@ -1,15 +1,12 @@
--- togl/togl.cpp.orig Wed Sep 29 19:48:06 2004
-+++ togl/togl.cpp Tue Jul 4 23:05:23 2006
-@@ -140,12 +140,18 @@
++++ togl/togl.cpp Fri Jan 26 00:30:29 2007
+@@ -138,14 +138,14 @@
+ # include "tkInt8.4p3.h"
+ #elif TK_MAJOR_VERSION==8 && TK_MINOR_VERSION==4 && TK_RELEASE_SERIAL==4
# include "tkInt8.4p4.h"
- #elif TK_MAJOR_VERSION==8 && TK_MINOR_VERSION==4 && TK_RELEASE_SERIAL==6
+-#elif TK_MAJOR_VERSION==8 && TK_MINOR_VERSION==4 && TK_RELEASE_SERIAL==6
++#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"
-+#elif TK_MAJOR_VERSION==8 && TK_MINOR_VERSION==4 && TK_RELEASE_SERIAL==13
-+# 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