summaryrefslogtreecommitdiff
path: root/editors/emacs/patches/patch-af
diff options
context:
space:
mode:
Diffstat (limited to 'editors/emacs/patches/patch-af')
-rw-r--r--editors/emacs/patches/patch-af22
1 files changed, 22 insertions, 0 deletions
diff --git a/editors/emacs/patches/patch-af b/editors/emacs/patches/patch-af
new file mode 100644
index 00000000000..ca981d7ae9f
--- /dev/null
+++ b/editors/emacs/patches/patch-af
@@ -0,0 +1,22 @@
+$NetBSD: patch-af,v 1.13 2009/10/07 10:56:40 obache Exp $
+
+--- src/m/mips.h.orig 2009-06-21 13:38:20.000000000 +0900
++++ src/m/mips.h
+@@ -23,7 +23,7 @@ along with GNU Emacs. If not, see <http
+ USUAL-OPSYS="note"
+
+ NOTE-START
+-This is only used on GNU/Linux.
++This is used on GNU/Linux and netbsd.
+ NOTE-END */
+
+ /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word
+@@ -50,7 +50,7 @@ NOTE-END */
+
+ #define TEXT_START 0x00400000
+
+-#ifndef GNU_LINUX
++#if !defined(GNU_LINUX) && !defined(__NetBSD__)
+ #define DATA_START 0x10000000
+ #endif
+