summaryrefslogtreecommitdiff
blob: 58069b50b22f75cb0c0533fdca0ce624fc574f0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Only in mercury-extras-10.04/graphics/mercury_glut: Mmakefile.orig
Only in mercury-extras-10.04/graphics/mercury_opengl: Mmakefile.orig
diff -ur mercury-extras-10.04.orig/graphics/mercury_tcltk/Mmakefile mercury-extras-10.04/graphics/mercury_tcltk/Mmakefile
--- mercury-extras-10.04.orig/graphics/mercury_tcltk/Mmakefile	2005-08-15 16:11:42.000000000 +1200
+++ mercury-extras-10.04/graphics/mercury_tcltk/Mmakefile	2010-07-20 06:49:11.000000000 +1200
@@ -8,10 +8,7 @@
 
 # You may need to modify the line below
 
-MLLIBS    = -ltk8.4 -ltcl8.4 -L/usr/X11R6/lib -lX11 -lXmu -lXext -lm -ldl \
-   	    -lXt -lICE -lSM
-
-MLFLAGS	  = -R/usr/X11R6/lib
+MLLIBS    = -ltk -ltcl
 
 # On some Linux machines you may need to let mgnuc know where the 
 # tcl/tk header files are. 
diff -ur mercury-extras-10.04.orig/graphics/mercury_tcltk/mtcltk.m mercury-extras-10.04/graphics/mercury_tcltk/mtcltk.m
--- mercury-extras-10.04.orig/graphics/mercury_tcltk/mtcltk.m	2007-08-21 14:47:37.000000000 +1200
+++ mercury-extras-10.04/graphics/mercury_tcltk/mtcltk.m	2010-07-20 06:49:11.000000000 +1200
@@ -154,7 +154,7 @@
     MR_incr_hp(argv_word, argc + 1);
     argv = (char **) argv_word;
 
-    for (i = 0, l = Args; l != list_empty(); l = list_tail(l), i++) {
+    for (i = 0, l = Args; l != MR_list_empty(); l = MR_list_tail(l), i++) {
         argv[i] = (char *) MR_list_head(l);
     }