--- fontconfig-2.6.0/fc-arch/fc-arch.c 2006-09-04 06:37:14.000000000 +0800 +++ fontconfig-2.6.0.patched/fc-arch/fc-arch.c 2009-02-19 10:48:05.000000000 +0900 @@ -92,6 +92,20 @@ if (strcmp (arch, "auto") == 0) { +#if defined(__APPLE__) && defined(__MACH__) + printf( + "#if defined(__ppc__)\n" + "#define FC_ARCHITECTURE \"ppc\"\n" + "#elif defined(__ppc64__)\n" + "#define FC_ARCHITECTURE \"ppc64\"\n" + "#elif defined(__i386__)\n" + "#define FC_ARCHITECTURE \"x86\"\n" + "#elif defined(__x86_64__)\n" + "#define FC_ARCHITECTURE \"x86-64\"\n" + "#endif\n"); + fflush (stdout); + exit (ferror (stdout)); +#endif arch = NULL; /* * Search for signature