aboutsummaryrefslogtreecommitdiffstats
path: root/editors/emacs19/files/patch-ah
diff options
context:
space:
mode:
authorsimokawa <simokawa@FreeBSD.org>1999-01-23 22:28:28 +0800
committersimokawa <simokawa@FreeBSD.org>1999-01-23 22:28:28 +0800
commit03e64bbe930d451acfe187a3f65a503a72bb6a69 (patch)
tree5d14b0b1226fb7b3f626ffff77beafa6a5c23ff5 /editors/emacs19/files/patch-ah
parent19c57c41e3cc5477d5b7e438a96110b863e5013b (diff)
downloadfreebsd-ports-graphics-03e64bbe930d451acfe187a3f65a503a72bb6a69.tar.gz
freebsd-ports-graphics-03e64bbe930d451acfe187a3f65a503a72bb6a69.tar.zst
freebsd-ports-graphics-03e64bbe930d451acfe187a3f65a503a72bb6a69.zip
Add fix for Alpha.
- patch for configure, unexelf.c, alpha.h, PLIST and etc.
Diffstat (limited to 'editors/emacs19/files/patch-ah')
-rw-r--r--editors/emacs19/files/patch-ah54
1 files changed, 54 insertions, 0 deletions
diff --git a/editors/emacs19/files/patch-ah b/editors/emacs19/files/patch-ah
new file mode 100644
index 00000000000..3f990e4b597
--- /dev/null
+++ b/editors/emacs19/files/patch-ah
@@ -0,0 +1,54 @@
+--- src/unexelf1.c.orig Sat Aug 10 06:56:52 1996
++++ src/unexelf1.c Sun Jan 17 00:28:21 1999
+@@ -423,12 +423,50 @@
+ #include <elf.h>
+ #include <sys/mman.h>
+
+-#ifdef __alpha__
++#if defined(__alpha__) && defined(__osf__)
+ # include <sym.h> /* get COFF debugging symbol table declaration */
++#else if defined(__alpha__)
++typedef struct {
++ short magic;
++ short vstamp;
++ int ilineMax;
++ int idnMax;
++ int ipdMax;
++ int isymMax;
++ int ioptMax;
++ int iauxMax;
++ int issMax;
++ int issExtMax;
++ int ifdMax;
++ int crfd;
++ int iextMax;
++ long cbLine;
++ long cbLineOffset;
++ long cbDnOffset;
++ long cbPdOffset;
++ long cbSymOffset;
++ long cbOptOffset;
++ long cbAuxOffset;
++ long cbSsOffset;
++ long cbSsExtOffset;
++ long cbFdOffset;
++ long cbRfdOffset;
++ long cbExtOffset;
++} HDRR, *pHDRR;
++#define cbHDRR sizeof(HDRR)
++#define hdrNil ((pHDRR)0)
+ #endif
+
+ #if __GNU_LIBRARY__ - 0 >= 6
+ # 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