diff options
author | asami <asami@FreeBSD.org> | 1999-05-12 13:29:51 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1999-05-12 13:29:51 +0800 |
commit | b1f6513b2110e1865103080a938bd7e6e4d5646f (patch) | |
tree | 1832ac174af0908b4ede544aab6d111b9bc8ce50 /lang/sr | |
parent | 4df83410eea43763ba7cca2456f9d75269a9a6a9 (diff) | |
download | freebsd-ports-gnome-b1f6513b2110e1865103080a938bd7e6e4d5646f.tar.gz freebsd-ports-gnome-b1f6513b2110e1865103080a938bd7e6e4d5646f.tar.zst freebsd-ports-gnome-b1f6513b2110e1865103080a938bd7e6e4d5646f.zip |
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 |