home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.mail.mh:1453 comp.sys.sgi:18395
- Newsgroups: comp.mail.mh,comp.sys.sgi
- Path: sparky!uunet!spool.mu.edu!uwm.edu!linac!att!cbnewsc!cbfsb!att-out!pacbell.com!network.ucsd.edu!munnari.oz.au!mtiame!iconix!mwp
- From: mwp@iconix.oz.au (Michael Paddon)
- Subject: MH 6.8 patches for SGI IRIX 4.0.5
- Message-ID: <1992Dec31.040542.17876@iconix.oz.au>
- Sender: news@iconix.oz.au (USENET)
- Nntp-Posting-Host: krakatoa
- Organization: Iconix Pty Ltd (World Headquarters)
- Date: Thu, 31 Dec 1992 04:05:42 GMT
- Lines: 135
-
- Following is the MH configuration file and the patches we found necessary
- to get MH 6.8 working under IRIX 4.0.5. I'd be interested to get feedback
- from anyone who finds other bugs.
-
- Good luck!
-
- Michael
-
- ------------------------------------------------------------------------------
-
- #
- # IRIX 4.0.5F running sendmail.
- #
- bin /local/bin
- etc /local/lib/mh
- mail /usr/mail
- mandir /local/man
- chown /bin/chown
- remove rm -f
-
- cc cc
- ccoptions -cckr -signed -O
- curses -lcurses
- ldoptions
- ldoptlibs -lsun -lc_s
- ranlib off
-
- mts sendmail/smtp
- pop on
- popdir /local/etc
- options POP2 POPSERVICE='"pop-3"' RPOP
-
- mailgroup mail
- signal void
- sprintf int
- options ATTVIBUG FCNTL MORE='"/usr/bsd/more"' NTOHLSWAP RENAME SOCKETS
- options SYS5 SYS5DIR SVR4 TERMINFO TZNAME UNISTD VSPRINTF WAITINT
- options ATZ FOLDPROT='"0700"' MHRC MIME MSGPROT='"0600"' OVERHEAD
-
- ------------------------------------------------------------------------------
-
- *** ./h/mh.h.dist Thu Dec 31 10:42:16 1992
- --- ./h/mh.h Thu Dec 31 10:43:12 1992
- ***************
- *** 363,365 ****
- --- 363,369 ----
- || defined(_AIX) || defined (sgi)) && !defined(UNISTD)
- #define UNISTD
- #endif
- +
- + #ifdef SVR4
- + #define signal sigset
- + #endif
- *** ./sbr/pidwait.c.dist Thu Dec 31 11:13:22 1992
- --- ./sbr/pidwait.c Thu Dec 31 11:13:35 1992
- ***************
- *** 33,39 ****
- }
-
- #ifdef SVR4
- ! pid = waitpid (id, &status, WUNTRACED);
- #else
- while ((pid = wait (&status)) != NOTOK && pid != id)
- continue;
- --- 33,39 ----
- }
-
- #ifdef SVR4
- ! pid = waitpid (id, &status, 0);
- #else
- while ((pid = wait (&status)) != NOTOK && pid != id)
- continue;
- *** ./support/pop/popd.c.dist Mon Dec 21 21:55:36 1992
- --- ./support/pop/popd.c Mon Dec 21 22:24:51 1992
- ***************
- *** 189,195 ****
- --- 189,199 ----
- padios ("socket", "unable to bind");
-
- #ifdef SIGCHLD
- + #ifdef SYS5
- + (void) signal (SIGCHLD, SIG_IGN);
- + #else /* SYS5 */
- (void) signal (SIGCHLD, chldser);
- + #endif /* SYS5 */
- #endif /* SIGCHLD */
- (void) listen (sd, SOMAXCONN);
- #endif /* KPOP */
- ***************
- *** 215,221 ****
- --- 219,227 ----
- case OK:
- (void) close (sd);
- #ifdef SIGCHLD
- + #ifndef SYS5
- (void) signal (SIGCHLD, SIG_DFL);
- + #endif /* SYS5 */
- #endif /* SIGCHLD */
- server (fd, osock);
- _exit (0);
- ***************
- *** 403,408 ****
- --- 409,415 ----
- /* ARGSUSED */
-
- #ifdef SIGCHLD
- + #ifndef SYS5
-
- static int chldser (sig, code, sc)
- int sig;
- ***************
- *** 419,424 ****
- --- 426,432 ----
- continue;
- }
-
- + #endif /* SYS5 */
- #endif /* SIGCHLD */
- #endif /* KPOP */
-
- *** ./support/pop/syslog.c.dist Mon Dec 21 22:25:04 1992
- --- ./support/pop/syslog.c Mon Dec 21 22:25:58 1992
- ***************
- *** 1,4 ****
- ! #if !defined (BSD43) && !defined(hpux)
- #ifndef lint
- static char SccsId[] = "@(#)syslog.c 4.1 (Berkeley) 5/27/83";
- #endif
- --- 1,4 ----
- ! #if !defined (BSD43) && !defined(hpux) && !defined (sgi)
- #ifndef lint
- static char SccsId[] = "@(#)syslog.c 4.1 (Berkeley) 5/27/83";
- #endif
-
- ------------------------------------------------------------------------------
-