File emacs-23.1-ppc64.patch of Package emacs

--- configure.in
+++ configure.in	2007-05-15 18:09:41.000000000 +0200
@@ -426,7 +426,8 @@ dnl see the `changequote' comment above.
   ;;
 
   ## Macintosh PowerPC
-  powerpc*-*-linux-gnu* )
+  ppc*-*-linux* | \
+  powerpc*-*-linux* )
     machine=macppc opsys=gnu-linux
   ;;
 
--- src/m/macppc.h
+++ src/m/macppc.h	2009-08-11 14:38:16.442402126 +0200
@@ -42,6 +42,12 @@ along with GNU Emacs.  If not, see <http
 /* NAKAJI Hiroyuki <nakaji@tutrp.tut.ac.jp> says this is needed
    For MkLinux/LinuxPPC.  */
 
+#ifdef __powerpc64__
+#ifndef _ARCH_PPC64
+#define _ARCH_PPC64
+#endif
+#endif
+
 #ifdef GNU_LINUX
 #define LINKER $(CC) -nostdlib
 /* s/gnu-linux.h defines this to `-z nocombreloc' which does not work here
openSUSE Build Service is sponsored by