summaryrefslogtreecommitdiff
path: root/editors/emacs20-dl/files/patch-ai
diff options
context:
space:
mode:
authorHidetoshi Shimokawa <simokawa@FreeBSD.org>1999-01-23 14:28:28 +0000
committerHidetoshi Shimokawa <simokawa@FreeBSD.org>1999-01-23 14:28:28 +0000
commitac34d7309cc9ed2bb1b9fcadf01a3153a50b41bf (patch)
tree06ad86b5acdc3f1aaf5ff6a5f594e87d816f05e7 /editors/emacs20-dl/files/patch-ai
parentUpgrade to mod_ssl-2.1.8. (diff)
Add fix for Alpha.
- patch for configure, unexelf.c, alpha.h, PLIST and etc.
Notes
Notes: svn path=/head/; revision=16277
Diffstat (limited to 'editors/emacs20-dl/files/patch-ai')
-rw-r--r--editors/emacs20-dl/files/patch-ai17
1 files changed, 17 insertions, 0 deletions
diff --git a/editors/emacs20-dl/files/patch-ai b/editors/emacs20-dl/files/patch-ai
new file mode 100644
index 000000000000..1ae2376d3fed
--- /dev/null
+++ b/editors/emacs20-dl/files/patch-ai
@@ -0,0 +1,17 @@
+--- src/unexelf.c.orig Mon Aug 10 11:33:12 1998
++++ src/unexelf.c Sun Jan 3 20:54:08 1999
+@@ -512,6 +512,14 @@
+ # include <link.h> /* get ElfW etc */
+ #endif
+
++#ifdef __FreeBSD__
++# ifdef __STDC__
++# define ElfW(type) Elf_##type
++# else
++# define ElfW(type) Elf_/**/type
++# endif
++#endif
++
+ #ifndef ElfW
+ # ifdef __STDC__
+ # define ElfW(type) Elf32_##type