summaryrefslogtreecommitdiff
path: root/editors/xemacs/files/patch-ak
diff options
context:
space:
mode:
authorGary Jennejohn <gj@FreeBSD.org>1999-11-18 20:56:15 +0000
committerGary Jennejohn <gj@FreeBSD.org>1999-11-18 20:56:15 +0000
commit7e477f978bf3d7891bf3d2d525bf69c82f1ba510 (patch)
treeebcab79d9df427ed9ed063704891beecc0a5814d /editors/xemacs/files/patch-ak
parentRemove dead MASTER_SITE. (diff)
Add Marcel's patches for Alpha support. I could only check that these
patches apply without error. I don't have an Alpha to test on, but I assume that Marcel knows what he's doing. PR: addendum to 14916 Submitted by: marcel Approved by: the maintainer
Notes
Notes: svn path=/head/; revision=23186
Diffstat (limited to 'editors/xemacs/files/patch-ak')
-rw-r--r--editors/xemacs/files/patch-ak17
1 files changed, 17 insertions, 0 deletions
diff --git a/editors/xemacs/files/patch-ak b/editors/xemacs/files/patch-ak
new file mode 100644
index 000000000000..a45db5e1084d
--- /dev/null
+++ b/editors/xemacs/files/patch-ak
@@ -0,0 +1,17 @@
+--- ./src/unexelf.c~ Sun Aug 15 03:29:56 1999
++++ ./src/unexelf.c Tue Nov 2 10:24:55 1999
+@@ -515,6 +515,14 @@
+ # include <sys/exec_elf.h>
+ #endif
+
++#if defined(__FreeBSD__) && defined(__alpha__)
++# ifdef __STDC__
++# define ElfW(type) Elf64_##type
++# else
++# define ElfW(type) Elf64_/**/type
++# endif
++#endif
++
+ #if __GNU_LIBRARY__ - 0 >= 6
+ # include <link.h> /* get ElfW etc */
+ #endif