- fix build on alpha
ok eric@ (MAINTAINER)
This commit is contained in:
parent
93c2bbde99
commit
b63a7d9273
14
editors/emacs22/patches/patch-src_m_alpha_h
Normal file
14
editors/emacs22/patches/patch-src_m_alpha_h
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-src_m_alpha_h,v 1.1 2010/09/09 19:14:23 jasper Exp $
|
||||
--- src/m/alpha.h.orig Tue Jan 8 05:04:36 2008
|
||||
+++ src/m/alpha.h Thu Sep 9 16:24:21 2010
|
||||
@@ -99,10 +99,6 @@ NOTE-END
|
||||
# endif
|
||||
#endif
|
||||
|
||||
-#if defined(__OpenBSD__)
|
||||
-#define ORDINARY_LINK
|
||||
-#endif
|
||||
-
|
||||
#ifdef __ELF__
|
||||
#undef UNEXEC
|
||||
#define UNEXEC unexelf.o
|
15
editors/emacs22/patches/patch-src_unexelf_c
Normal file
15
editors/emacs22/patches/patch-src_unexelf_c
Normal file
@ -0,0 +1,15 @@
|
||||
$OpenBSD: patch-src_unexelf_c,v 1.1 2010/09/09 19:14:23 jasper Exp $
|
||||
|
||||
Fix build on OpenBSD/alpha, which is an ELF platform.
|
||||
|
||||
--- src/unexelf.c.orig Thu Sep 9 19:27:28 2010
|
||||
+++ src/unexelf.c Thu Sep 9 19:28:00 2010
|
||||
@@ -1079,7 +1079,7 @@ unexec (new_name, old_name, data_start, bss_start, ent
|
||||
memcpy (NEW_SECTION_H (nn).sh_offset + new_base, src,
|
||||
NEW_SECTION_H (nn).sh_size);
|
||||
|
||||
-#ifdef __alpha__
|
||||
+#if defined(__alpha__) && !defined(__OpenBSD__)
|
||||
/* Update Alpha COFF symbol table: */
|
||||
if (strcmp (old_section_names + OLD_SECTION_H (n).sh_name, ".mdebug")
|
||||
== 0)
|
Loading…
Reference in New Issue
Block a user