diff -urd ghc-0.29-orig/ghc/includes/stgdefs.h ghc-0.29/ghc/includes/stgdefs.h --- ghc-0.29-orig/ghc/includes/stgdefs.h Wed Jul 17 07:10:08 1996 +++ ghc-0.29/ghc/includes/stgdefs.h Thu Mar 13 17:35:56 1997 @@ -38,7 +38,12 @@ #undef _POSIX_C_SOURCE #else #define _POSIX_SOURCE 1 +#if irix_TARGET_OS +#define _POSIX_C_SOURCE 199309L +#define __EXTENSIONS__ +#else #define _POSIX_C_SOURCE 199301L +#endif /* Alphas set _POSIX_VERSION (unistd.h) */ /* ditto _POSIX2_C_VERSION _POSIX2_VERSION diff -urd ghc-0.29-orig/ghc/mkworld/buildinfo.jm ghc-0.29/ghc/mkworld/buildinfo.jm --- ghc-0.29-orig/ghc/runtime/main/Signals.lc Wed May 15 13:39:25 1996 +++ ghc-0.29/ghc/runtime/main/Signals.lc Thu Mar 13 17:49:46 1997 @@ -133,11 +133,6 @@ # else /* Not SunOS 4, FreeBSD, or Linux(a.out) */ -# if defined(irix_TARGET_OS) - /* certainly BOGUS (WDP 94/05) -- copied from /usr/include/sys/siginfo.h */ -# define si_addr _data._fault._addr -# endif - static void segv_handler(int sig, siginfo_t *sip) /* NB: the second "siginfo_t" argument is not really standard */ diff -urd ghc-0.29-orig/ghc/utils/parallel/Jmakefile ghc-0.29/ghc/utils/parallel/Jmakefile --- ghc-0.29-orig/ghc/utils/parallel/Jmakefile Thu Jul 25 07:23:10 1996 +++ ghc-0.29/ghc/utils/parallel/Jmakefile Thu Mar 13 11:11:27 1997 @@ -40,7 +40,7 @@ MsubProgramScriptTarget(PerlCmd,gr2java,gr2java.pl,,) MsubProgramScriptTarget(/usr/local/bin/bash,gr2jv,gr2jv.bash,,) MsubProgramScriptTarget(/usr/local/bin/bash,gr2ap,gr2ap.bash,,) -MsubProgramScriptTarget(PerlCmd,qp2ap.pl,qp2ap.pl,,) +MsubProgramScriptTarget(PerlCmd,qp2ap,qp2ap.pl,,) MsubProgramScriptTarget(/usr/local/bin/bash,gr2gran,gr2gran.bash,,) MsubProgramScriptTarget(PerlCmd,gr2RTS,gr2RTS.pl,,)