diff options
author | Satoshi Asami <asami@FreeBSD.org> | 1999-05-12 05:29:51 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 1999-05-12 05:29:51 +0000 |
commit | 8158434324a2cd0edd84b3cd22bcc2946c00783d (patch) | |
tree | efb3a24043fa4b0fa8adc07bb8439fcca5e81718 /lang/sr | |
parent | Remove missing file. (diff) |
Fix ELF build. Change maintainer's mail address.
Submitted by: maintainer, of course
Diffstat (limited to 'lang/sr')
-rw-r--r-- | lang/sr/Makefile | 4 | ||||
-rw-r--r-- | lang/sr/files/patch-ab | 22 |
2 files changed, 23 insertions, 3 deletions
diff --git a/lang/sr/Makefile b/lang/sr/Makefile index fbe3c2b133fa..8b90c1a67efc 100644 --- a/lang/sr/Makefile +++ b/lang/sr/Makefile @@ -3,7 +3,7 @@ # Date created: 2 Jun 1997 # Whom: Ruslan Shevchenko <rssh@satori.ipri.kiev.ua> # -# $Id: Makefile,v 1.3 1997/06/29 09:29:03 obrien Exp $ +# $Id: Makefile,v 1.4 1998/10/14 04:10:03 jseger Exp $ # DISTNAME= sr @@ -14,8 +14,6 @@ EXTRACT_SUFX= .tar.Z MAINTAINER= rssh@cki.ipri.kiev.ua -BROKEN_ELF= yes - HAS_CONFIGURE= yes CONFIGURE_ARGS= prefix NO_WRKSUBDIR= yes diff --git a/lang/sr/files/patch-ab b/lang/sr/files/patch-ab new file mode 100644 index 000000000000..95dafd0b4525 --- /dev/null +++ b/lang/sr/files/patch-ab @@ -0,0 +1,22 @@ +diff -udr work.origin/csw/asm.c work/csw/asm.c +--- csw/asm.c.orig Mon Nov 22 23:18:14 1993 ++++ csw/asm.c Wed May 12 05:05:46 1999 +@@ -8,7 +8,17 @@ + + #include "../arch.h" + +-#ifdef __svr4__ /* if SVR4 (including Solaris 2.x) */ ++#ifdef __FreeBSD__ ++#if __FreeBSD__ >= 2 ++#include <osreldate.h> ++#if __FreeBSD_version >= 300004 ++#define __elf__ ++#endif ++#endif ++#endif ++ ++ /* if SVR4 (including Solaris 2.x) or FreeBSD-elf */ ++#if defined(__svr4__) || defined (__elf__) + #define SR_BUILD_CONTEXT sr_build_context + #define SR_CHG_CONTEXT sr_chg_context + #define SR_CHECK_STK sr_check_stk |