diff options
author | Yoichi NAKAYAMA <yoichi@FreeBSD.org> | 2002-03-01 04:16:14 +0000 |
---|---|---|
committer | Yoichi NAKAYAMA <yoichi@FreeBSD.org> | 2002-03-01 04:16:14 +0000 |
commit | ddcb5293b500b7d82448746c7b1dfcad91c007dd (patch) | |
tree | 32488ca5eaa1b778c56e77299dc5dc8f30c0a281 /textproc/coco/files/patch-src_m_alpha.h | |
parent | add gps 0.9.1 (diff) |
Add package includes coco & m2ps.
Those commands are included in mule-2.3 but not integrated in
emacs-2x distribution even after merging MULE feature.
(repo-copied from editors/mule-common)
PR: ports/33287
Submitted by: Teruaki Ata <PFA03027@nifty.ne.jp>
Notes
Notes:
svn path=/head/; revision=55366
Diffstat (limited to 'textproc/coco/files/patch-src_m_alpha.h')
-rw-r--r-- | textproc/coco/files/patch-src_m_alpha.h | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/textproc/coco/files/patch-src_m_alpha.h b/textproc/coco/files/patch-src_m_alpha.h new file mode 100644 index 000000000000..47dfb791203b --- /dev/null +++ b/textproc/coco/files/patch-src_m_alpha.h @@ -0,0 +1,48 @@ +diff -rBbc src/m/alpha.h src/m/alpha.h +*** src/m/alpha.h Sat Aug 10 07:03:36 1996 +--- src/m/alpha.h Sat Dec 29 03:49:32 2001 +*************** +*** 234,240 **** +--- 234,244 ---- + + #ifndef NOT_C_CODE + /* We need these because pointers are larger than the default ints. */ ++ #if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__) + #include <alloca.h> ++ #else ++ #include <stdlib.h> ++ #endif + + /* Hack alert! For reasons unknown to mankind the string.h file insists + on defining bcopy etc. as taking char pointers as arguments. With +*************** +*** 299,308 **** + termio and struct termios are mutually incompatible. */ + #define NO_TERMIO + +! #ifdef LINUX + # define TEXT_END ({ extern int _etext; &_etext; }) + # ifndef __ELF__ + # define COFF + # define DATA_END ({ extern int _EDATA; &_EDATA; }) + # endif /* notdef __ELF__ */ + #endif +--- 303,320 ---- + termio and struct termios are mutually incompatible. */ + #define NO_TERMIO + +! #if defined(LINUX) || \ +! defined(__FreeBSD__) || defined (__NetBSD__) || defined (__OpenBSD__) + # define TEXT_END ({ extern int _etext; &_etext; }) + # ifndef __ELF__ + # define COFF + # define DATA_END ({ extern int _EDATA; &_EDATA; }) + # endif /* notdef __ELF__ */ + #endif ++ ++ #if (defined (__FreeBSD__) || defined (__NetBSD__) || defined (__OpenBSD__)) \ ++ && defined (__ELF__) ++ #define HAVE_TEXT_START ++ #endif ++ ++ |