[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MiNT] patch::deb



fix compile for debug-version

diff -u orig/draw_obj.c ./draw_obj.c
--- orig/draw_obj.c	2010-01-09 15:10:07.484375000 +0100
+++ ./draw_obj.c	2010-01-09 15:10:19.578125000 +0100
@@ -808,9 +808,9 @@
 	DIAG((D_objc, wt->owner, "draw_object_tree for %s to %d/%d,%d/%d; %lx + %d depth:%d",
 		t_owner(wt), x + tree->ob_x, y + tree->ob_y,
 		tree->ob_width, tree->ob_height, tree, item, depth));
-	DIAG((D_objc, wt->owner, "  -   (%d)%s%s",
+	/*DIAG((D_objc, wt->owner, "  -   (%d)%s%s",
 		wt->is_menu, obtree_is_menu(tree) ? "menu" : "object", wt->zen ? " with zen" : " no zen"));
-		
+		*/
 
 // 	DIAG((D_objc, wt->owner, "  -   clip: %d.%d/%d.%d    %d/%d,%d/%d",
 // 		cl[0], cl[1], cl[2], cl[3], cl[0], cl[1], cl[2] - cl[0] + 1, cl[3] - cl[1] + 1));
diff -u orig/xa_shel.c ./xa_shel.c
--- orig/xa_shel.c	2010-01-04 23:31:12.000000000 +0100
+++ ./xa_shel.c	2010-01-09 15:09:29.234375000 +0100
@@ -1122,7 +1122,7 @@
 			|| *fn == '/' || *fn == '\\' ) )	/* no absolute path given */
 		{
 
-			DIAGS(("shell_find for %s '%s', PATH= '%s'", client->name, fn ? fn : "~", kp ? kp : "~"));
+			//DIAGS(("shell_find for %s '%s', PATH= '%s'", client->name, fn ? fn : "~", kp ? kp : "~"));
 
 			/* check $HOME directory */
 			if (cfg.usehome )