%n grub %v 0.4 %c * %l * %b * %d * %f * %t grub-0.4.tgz %w Gnu %% %setup patch -u -p1 <<'ENDPATCH' diff -ru2N grub-0.4/Makefile.end grub-MCC/Makefile.end --- grub-0.4/Makefile.end Mon Sep 23 19:03:02 1996 +++ grub-MCC/Makefile.end Tue Oct 29 21:16:23 1996 @@ -8,4 +8,6 @@ all: @for X in $(PROGS) ; do (cd $$X ; $(MAKE)) ; done +install: + @for i in $(PROGS) ; do if [ -f /boot/grub/$i ];then mv -f /boot/grub/$i /boot/grub/$i.old;fi;(cd bin;install -m 400 $$i /boot/grub);done clean: diff -ru2N grub-0.4/configure grub-MCC/configure --- grub-0.4/configure Mon Oct 7 05:45:42 1996 +++ grub-MCC/configure Tue Oct 29 21:11:33 1996 @@ -379,5 +379,5 @@ echo "Running test_offset on test_asm" >> ../config.log - eval header_$link_addr=`test_offset test_asm` + eval header_$link_addr=`./test_offset test_asm` check_exit_status test_offset @@ -423,5 +423,5 @@ cat << EOF >> Makefile -export SHARED_FLAGS = -fno-builtin -nostdinc -O2 -DEXT_C\(x\)="$munge_func1" +export SHARED_FLAGS = -fno-builtin -nostdinc -O6 -fomit-frame-pointer -DEXT_C\(x\)="$munge_func1" # (END OF AUTOMATICALLY GENERATED PORTION) diff -ru2N grub-0.4/shared_src/asm.S grub-MCC/shared_src/asm.S --- grub-0.4/shared_src/asm.S Sun Sep 29 01:35:28 1996 +++ grub-MCC/shared_src/asm.S Tue Oct 29 21:12:18 1996 @@ -640,5 +640,5 @@ push %ebx - movl 0x10(%esp), %bl + movl 0x10(%esp,1), %ebx /* if not '\n', just print the character */ ENDPATCH ./configure make * make install %%