SHA256
1
0
forked from pool/emacs
emacs/emacs-23.1-ppc64.patch
OBS User autobuild bc0b8fdb3a Accepting request 17729 from editors
Copy from editors/emacs based on submit request 17729 from user WernerFink

OBS-URL: https://build.opensuse.org/request/show/17729
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/emacs?expand=0&rev=35
2009-08-13 21:47:15 +00:00

28 lines
717 B
Diff

--- 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