aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-mathematics/netgen/files/togl_tk.patch')
-rw-r--r--sci-mathematics/netgen/files/togl_tk.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/sci-mathematics/netgen/files/togl_tk.patch b/sci-mathematics/netgen/files/togl_tk.patch
new file mode 100644
index 000000000..31a279a28
--- /dev/null
+++ b/sci-mathematics/netgen/files/togl_tk.patch
@@ -0,0 +1,39 @@
+--- togl/togl.cpp.org 2004-09-29 19:48:06.000000000 +0200
++++ togl/togl.cpp 2006-10-13 21:39:50.000000000 +0200
+@@ -138,8 +138,36 @@
+ # 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==5
++# include "tkInt8.4p5.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.4p7.h"
++#elif TK_MAJOR_VERSION==8 && TK_MINOR_VERSION==4 && TK_RELEASE_SERIAL==8
++# include "tkInt8.4p8.h"
++#elif TK_MAJOR_VERSION==8 && TK_MINOR_VERSION==4 && TK_RELEASE_SERIAL==9
++# include "tkInt8.4p9.h"
++#elif TK_MAJOR_VERSION==8 && TK_MINOR_VERSION==4 && TK_RELEASE_SERIAL==10
++# include "tkInt8.4p10.h"
++#elif TK_MAJOR_VERSION==8 && TK_MINOR_VERSION==4 && TK_RELEASE_SERIAL==11
++# include "tkInt8.4p11.h"
++#elif TK_MAJOR_VERSION==8 && TK_MINOR_VERSION==4 && TK_RELEASE_SERIAL==12
++# include "tkInt8.4p12.h"
++#elif TK_MAJOR_VERSION==8 && TK_MINOR_VERSION==4 && TK_RELEASE_SERIAL==13
++# include "tkInt8.4p13.h"
++#elif TK_MAJOR_VERSION==8 && TK_MINOR_VERSION==4 && TK_RELEASE_SERIAL==14
++# include "tkInt8.4p14.h"
++#elif TK_MAJOR_VERSION==8 && TK_MINOR_VERSION==4 && TK_RELEASE_SERIAL==15
++# include "tkInt8.4p15.h"
++#elif TK_MAJOR_VERSION==8 && TK_MINOR_VERSION==4 && TK_RELEASE_SERIAL==16
++# include "tkInt8.4p16.h"
++#elif TK_MAJOR_VERSION==8 && TK_MINOR_VERSION==4 && TK_RELEASE_SERIAL==17
++# include "tkInt8.4p17.h"
++#elif TK_MAJOR_VERSION==8 && TK_MINOR_VERSION==4 && TK_RELEASE_SERIAL==18
++# include "tkInt8.4p18.h"
++#elif TK_MAJOR_VERSION==8 && TK_MINOR_VERSION==4 && TK_RELEASE_SERIAL==19
++# include "tkInt8.4p19.h"
+ #else
+ Sorry, you will have to edit togl.c to include the right tkInt.h file
+ #endif