Sophie

Sophie

distrib > Mandriva > 2010.1 > i586 > media > contrib-updates-src > by-pkgid > 11ecebdeaf164337770dee7b98538920 > files > 8

elmer-5.4.1.4579-4mdv2010.1.src.rpm

diff -p -up elmer-5.4.1.4579/front/include/ecif_userinterface_TCL.h.orig elmer-5.4.1.4579/front/include/ecif_userinterface_TCL.h
--- elmer-5.4.1.4579/front/include/ecif_userinterface_TCL.h.orig	2010-08-22 14:59:34.000000000 -0300
+++ elmer-5.4.1.4579/front/include/ecif_userinterface_TCL.h	2010-08-22 14:59:55.000000000 -0300
@@ -42,8 +42,10 @@ Abstract:   A class for TCL based userin
 // Win32 and X
 // Tcl and Stl (list variable argument in tcl.h)
 #include "ecif_def.h"
+#define USE_INTERP_RESULT		1
 #include <tcl.h>
 #include <tk.h>
+#undef USE_INTERP_RESULT
 #include "ecif_def_stl.h"
 //***END NOTE
 
diff -p -up elmer-5.4.1.4579/post/src/ElmerPost.c.orig elmer-5.4.1.4579/post/src/ElmerPost.c
--- elmer-5.4.1.4579/post/src/ElmerPost.c.orig	2010-08-22 14:58:46.000000000 -0300
+++ elmer-5.4.1.4579/post/src/ElmerPost.c	2010-08-22 14:59:00.000000000 -0300
@@ -47,6 +47,7 @@
 #include "elmerpost.h"
 #include "../config.h"
 
+#define USE_INTERP_RESULT		1
 #include <tcl.h>
 #include <tk.h>
 
diff -p -up elmer-5.4.1.4579/post/src/modules/matctcl.c.orig elmer-5.4.1.4579/post/src/modules/matctcl.c
--- elmer-5.4.1.4579/post/src/modules/matctcl.c.orig	2010-08-22 14:57:39.000000000 -0300
+++ elmer-5.4.1.4579/post/src/modules/matctcl.c	2010-08-22 14:57:45.000000000 -0300
@@ -61,6 +61,7 @@
  */
 
 #include "../elmerpost.h"
+#define USE_INTERP_RESULT		1
 #include <tcl.h>
 #include <tk.h>
 
diff -p -up elmer-5.4.1.4579/post/src/modules/readfile.c.orig elmer-5.4.1.4579/post/src/modules/readfile.c
--- elmer-5.4.1.4579/post/src/modules/readfile.c.orig	2010-08-22 14:57:59.000000000 -0300
+++ elmer-5.4.1.4579/post/src/modules/readfile.c	2010-08-22 14:58:13.000000000 -0300
@@ -46,6 +46,7 @@
 
 
 #include "../elmerpost.h"
+#define USE_INTERP_RESULT		1
 #include <tcl.h>
 
 extern double XMin,XMax,YMin,YMax,ZMin,ZMax;
diff -p -up elmer-5.4.1.4579/post/src/modules/transforms.c.orig elmer-5.4.1.4579/post/src/modules/transforms.c
--- elmer-5.4.1.4579/post/src/modules/transforms.c.orig	2010-08-22 14:58:22.000000000 -0300
+++ elmer-5.4.1.4579/post/src/modules/transforms.c	2010-08-22 14:58:35.000000000 -0300
@@ -61,6 +61,7 @@
 
 #include "../elmerpost.h"
 
+#define USE_INTERP_RESULT		1
 #include <tcl.h>
 #include <tk.h>
 
diff -p -up elmer-5.4.1.4579/post/src/screensave.c.orig elmer-5.4.1.4579/post/src/screensave.c
--- elmer-5.4.1.4579/post/src/screensave.c.orig	2010-08-22 14:59:10.000000000 -0300
+++ elmer-5.4.1.4579/post/src/screensave.c	2010-08-22 14:59:22.000000000 -0300
@@ -32,6 +32,7 @@
 #include <GL/glu.h>
 
 
+#define USE_INTERP_RESULT		1
 #include "tcl.h"
 
 #if !(defined(WIN32) || defined(win32))