[GRASS-SVN] r35624 - in grass/branches/develbranch_6: lib/form vector/v.digit visualization/nviz/src

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Jan 25 15:07:56 EST 2009


Author: neteler
Date: 2009-01-25 15:07:56 -0500 (Sun, 25 Jan 2009)
New Revision: 35624

Modified:
   grass/branches/develbranch_6/lib/form/form.c
   grass/branches/develbranch_6/vector/v.digit/form.c
   grass/branches/develbranch_6/visualization/nviz/src/Makefile
Log:
hack (http://www.tcl.tk/cgi-bin/tct/tip/330.html) for Tcl8.6 until patch in trac #462 is verified

Modified: grass/branches/develbranch_6/lib/form/form.c
===================================================================
--- grass/branches/develbranch_6/lib/form/form.c	2009-01-25 19:58:06 UTC (rev 35623)
+++ grass/branches/develbranch_6/lib/form/form.c	2009-01-25 20:07:56 UTC (rev 35624)
@@ -5,8 +5,12 @@
 #include <fcntl.h>
 #include <sys/time.h>
 #include <sys/types.h>
+
+/* hack for tcl 8.6 */
+#define USE_INTERP_RESULT
 #include <tcl.h>
 #include <tk.h>
+
 #include <locale.h>
 #include <grass/gis.h>
 #include <grass/dbmi.h>

Modified: grass/branches/develbranch_6/vector/v.digit/form.c
===================================================================
--- grass/branches/develbranch_6/vector/v.digit/form.c	2009-01-25 19:58:06 UTC (rev 35623)
+++ grass/branches/develbranch_6/vector/v.digit/form.c	2009-01-25 20:07:56 UTC (rev 35624)
@@ -5,8 +5,12 @@
 #include <fcntl.h>
 #include <sys/time.h>
 #include <sys/types.h>
+
+/* hack for tcl 8.6 */
+#define USE_INTERP_RESULT
 #include <tcl.h>
 #include <tk.h>
+
 #include <locale.h>
 #include <grass/gis.h>
 #include <grass/dbmi.h>

Modified: grass/branches/develbranch_6/visualization/nviz/src/Makefile
===================================================================
--- grass/branches/develbranch_6/visualization/nviz/src/Makefile	2009-01-25 19:58:06 UTC (rev 35623)
+++ grass/branches/develbranch_6/visualization/nviz/src/Makefile	2009-01-25 20:07:56 UTC (rev 35624)
@@ -30,7 +30,7 @@
 EXTRA_CFLAGS= $(TCLINCDIR) $(TKINCDIR) \
 	$(INC) \
 	$(TIFFINCPATH) $(DSPINC) \
-	$(VECT_CFLAGS) $(OPENGLINC)
+	$(VECT_CFLAGS) $(OPENGLINC) -D USE_INTERP_RESULT
 
 ifeq ($(OPENGL_X11),1)
 EXTRA_CFLAGS += $(XCFLAGS)



More information about the grass-commit mailing list