summaryrefslogtreecommitdiff
path: root/textproc/coco/files/patch-src_unexelf1.c
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-09-02 10:29:18 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-09-02 10:29:18 +0000
commitadf2b211f7bdf8c16c5a40c16d2541f32c80136f (patch)
tree5e1b54a126f562774b4d533c4f633d6008b81b5d /textproc/coco/files/patch-src_unexelf1.c
parentRemove non staged ports without pending PR from s* (diff)
Remove non staged ports without pending PR from textproc and vietnamese
Diffstat (limited to 'textproc/coco/files/patch-src_unexelf1.c')
-rw-r--r--textproc/coco/files/patch-src_unexelf1.c68
1 files changed, 0 insertions, 68 deletions
diff --git a/textproc/coco/files/patch-src_unexelf1.c b/textproc/coco/files/patch-src_unexelf1.c
deleted file mode 100644
index e1b17ffe59ff..000000000000
--- a/textproc/coco/files/patch-src_unexelf1.c
+++ /dev/null
@@ -1,68 +0,0 @@
-diff -rBbc src/unexelf1.c src/unexelf1.c
-*** src/unexelf1.c Sat Aug 10 06:56:52 1996
---- src/unexelf1.c Sat Dec 29 03:49:32 2001
-***************
-*** 423,434 ****
- #include <elf.h>
- #include <sys/mman.h>
-
-! #ifdef __alpha__
- # include <sym.h> /* get COFF debugging symbol table declaration */
- #endif
-
- #if __GNU_LIBRARY__ - 0 >= 6
- # include <link.h> /* get ElfW etc */
- #endif
-
- #ifndef ElfW
---- 423,472 ----
- #include <elf.h>
- #include <sys/mman.h>
-
-! #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