summaryrefslogtreecommitdiff
path: root/editors/emacs
diff options
context:
space:
mode:
authormycroft <mycroft@pkgsrc.org>2002-07-19 03:07:15 +0000
committermycroft <mycroft@pkgsrc.org>2002-07-19 03:07:15 +0000
commitcd7ad57e0c3372fd385e723b457856c5f1e59a0f (patch)
treea6a4a4b2bce8f549eb052a8f0b35c5644a60235c /editors/emacs
parentc3b2654e3bfbbaa8e4de680e503d68fde92fb2df (diff)
downloadpkgsrc-cd7ad57e0c3372fd385e723b457856c5f1e59a0f.tar.gz
-fno-common is not necessary on NetBSD/alpha (or any ELF platform, really).
Diffstat (limited to 'editors/emacs')
-rw-r--r--editors/emacs/patches/patch-br15
1 files changed, 15 insertions, 0 deletions
diff --git a/editors/emacs/patches/patch-br b/editors/emacs/patches/patch-br
new file mode 100644
index 00000000000..c1f59a82079
--- /dev/null
+++ b/editors/emacs/patches/patch-br
@@ -0,0 +1,15 @@
+$NetBSD: patch-br,v 1.1 2002/07/19 03:07:15 mycroft Exp $
+
+--- src/m/alpha.h.orig Fri Feb 4 12:25:47 2000
++++ src/m/alpha.h Fri Jul 19 02:56:24 2002
+@@ -147,7 +147,9 @@
+ GNU libc, __malloc_initialized would normally be resolved to the
+ shared library's .bss section, which is fatal. */
+ # ifdef __GNUC__
+-# define C_SWITCH_MACHINE -fno-common
++# ifndef __NetBSD__
++# define C_SWITCH_MACHINE -fno-common
++# endif
+ # else
+ # error What gives? Fix me if DEC Unix supports ELF now.
+ # endif