Attached is a very small patch which fixes a problem with make xconfig with newer tk8.0.x
versions.
The option -fore is now ambiguous, this simply changes this to -foreground.
Without this fixed xconfig errors on several submenus.
This should be totally backwards compatible due to the nature of abbreviation handling
in tcl/tk.
Peter
----------------------------------
E-Mail: Peter Waltenberg <peterw@dascom.com>
Date: 05-Jan-99
Time: 13:28:27
This message was sent by XFMail
----------------------------------
--_=XFMail.1.3.p0.Linux:990105133538:390=_
Content-Disposition: attachment; filename="tkgen.diff"
Content-Transfer-Encoding: none
Content-Type: application/octet-stream; name=tkgen.diff; SizeOnDisk=934
--- scripts/tkgen.c.orig Tue Jan 5 13:26:31 1999
+++ scripts/tkgen.c Tue Jan 5 13:26:48 1999
@@ -307,10 +307,10 @@
case tok_hex:
case tok_string:
printf("} then { ");
- printf(".menu%d.config.f.x%d.x configure -state normal -fore [ cget .ref
-foreground ]; ", menu_num, line_num);
+ printf(".menu%d.config.f.x%d.x configure -state normal -foreground [ cget
.ref -foreground ]; ", menu_num, line_num);
printf(".menu%d.config.f.x%d.l configure -state normal; ", menu_num, line
_num);
printf("} else { ");
- printf(".menu%d.config.f.x%d.x configure -state disabled -fore [ cget .re
f -disabledforeground ];", menu_num, line_num );
+ printf(".menu%d.config.f.x%d.x configure -state disabled -foreground [ cg
et .ref -disabledforeground ];", menu_num, line_num );
printf(".menu%d.config.f.x%d.l configure -state disabled;", menu_num, lin
e_num );
printf("}\n");
break;
--_=XFMail.1.3.p0.Linux:990105133538:390=_--
End of MIME message
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/