Please apply this patch. You need to install automake-1.4 or newer,
and to rerun `aclocal' and `automake'.
diff -urN grub.orig/ChangeLog grub/ChangeLog
--- grub.orig/ChangeLog Sat Mar 27 20:17:29 1999
+++ grub/ChangeLog Sat Mar 27 20:12:19 1999
@@ -1,3 +1,14 @@
+1999-03-27 OKUJI Yoshinori <[EMAIL PROTECTED]>
+
+ * stage2_debug/Makefile.am (AUTOMAKE_OPTIONS): Require automake-1.4
+ or newer.
+ (EXTRA_DATA): Deleted, because automake-1.4 doesn't need it.
+ Suggested by Tom Tromey <[EMAIL PROTECTED]>.
+ (CLEANFILES): Set to $(stage2_debug).
+
+ * grub/asmstub.c (set_attrib): XXX Use inch and addch, instead of
+ chgat, because chgat doesn't work as expected.
+
1999-03-26 OKUJI Yoshinori <[EMAIL PROTECTED]>
* grub/asmstub.c (grub_stage2) [HAVE_LIBCURSES]: Call nodelay.
diff -urN grub.orig/grub/asmstub.c grub/grub/asmstub.c
--- grub.orig/grub/asmstub.c Sat Mar 27 20:17:29 1999
+++ grub/grub/asmstub.c Sat Mar 27 20:07:25 1999
@@ -360,7 +360,11 @@
set_attrib (int attr)
{
#ifdef HAVE_LIBCURSES
- chgat (1, attr, 0, NULL);
+ /* XXX I don't know why, but chgat doesn't work as expected, so
+ use this dirty way... - okuji */
+ chtype ch = inch ();
+ addch ((ch & A_CHARTEXT) | attr);
+ /* chgat (1, attr, 0, NULL); */
#endif
}
diff -urN grub.orig/stage2_debug/Makefile.am grub/stage2_debug/Makefile.am
--- grub.orig/stage2_debug/Makefile.am Mon Mar 8 15:28:20 1999
+++ grub/stage2_debug/Makefile.am Sat Mar 27 16:39:27 1999
@@ -1,7 +1,8 @@
+AUTOMAKE_OPTIONS = 1.4
+
pkgdatadir = $(datadir)/$(PACKAGE)/$(host_cpu)-$(host_vendor)
pkgdata_DATA = $(stage2debug)
-EXTRA_DATA = stage2_debug
-CLEANFILES = stage2_debug
+CLEANFILES = $(stage2_debug)
MOSTLYCLEANFILES = stage2_debug.exec
# We can't use builtins or standard includes.
----------------------------------------------------------------------
OKUJI Yoshinori <[EMAIL PROTECTED]> ^o-o^
http://duff.kuicr.kyoto-u.ac.jp/~okuji (in English) m /