dbootstrap ppc changes broke i386
Compiling .tmp.partition_config.c to .tmp.partition_config.o
partition_config.c: In function partition_disk':
partition_config.c:130: Arch2' undeclared (first use in this function)
partition_config.c:130: (Each undeclared identifier is reported only once
partition_config.c:130: for each function it appears in.)
make: *** [.tmp.partition_config.o] Error 1
revision 1.24
date: 2000/02/10 02:51:20; author: espy; state: Exp; lines: +2 -1
main.c: Fix powerpc subarch stuff.
partition_config.c: Use fdisk wrapper instead of cfdisk on PowerMacs.
- if ( NAME_ISEXE( "/sbin/cfdisk", &statbuf ) ) {
+ if ( NAME_ISEXE( "/sbin/cfdisk", &statbuf ) &&
+ ( strcmp(Arch2, "PowerMac") != 0 ) ) {
What is this Arch2 and where is it supposed to come from? Oh I see..
#if #cpu (m68k) || #cpu (powerpc)
const char *Arch2;
#endif
Hm, I can hack around this, but I don't know enough to know if the obvious
fix is right. Espy, can you fix it?
--
see shy jo
Reply to: