home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / mail / mh / 1453 < prev    next >
Encoding:
Internet Message Format  |  1992-12-31  |  3.6 KB

  1. Xref: sparky comp.mail.mh:1453 comp.sys.sgi:18395
  2. Newsgroups: comp.mail.mh,comp.sys.sgi
  3. 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
  4. From: mwp@iconix.oz.au (Michael Paddon)
  5. Subject: MH 6.8 patches for SGI IRIX 4.0.5
  6. Message-ID: <1992Dec31.040542.17876@iconix.oz.au>
  7. Sender: news@iconix.oz.au (USENET)
  8. Nntp-Posting-Host: krakatoa
  9. Organization: Iconix Pty Ltd (World Headquarters)
  10. Date: Thu, 31 Dec 1992 04:05:42 GMT
  11. Lines: 135
  12.  
  13. Following is the MH configuration file and the patches we found necessary
  14. to get MH 6.8 working under IRIX 4.0.5. I'd be interested to get feedback
  15. from anyone who finds other bugs.
  16.  
  17. Good luck!
  18.  
  19.                                       Michael
  20.  
  21. ------------------------------------------------------------------------------
  22.  
  23. #
  24. # IRIX 4.0.5F running sendmail.
  25. #
  26. bin                /local/bin
  27. etc                /local/lib/mh
  28. mail            /usr/mail
  29. mandir            /local/man
  30. chown            /bin/chown
  31. remove            rm -f
  32.  
  33. cc                cc
  34. ccoptions        -cckr -signed -O
  35. curses            -lcurses
  36. ldoptions        
  37. ldoptlibs        -lsun -lc_s
  38. ranlib            off
  39.  
  40. mts                sendmail/smtp
  41. pop                on
  42. popdir            /local/etc
  43. options            POP2 POPSERVICE='"pop-3"' RPOP 
  44.  
  45. mailgroup        mail
  46. signal            void
  47. sprintf            int
  48. options            ATTVIBUG FCNTL MORE='"/usr/bsd/more"' NTOHLSWAP RENAME SOCKETS
  49. options            SYS5 SYS5DIR SVR4 TERMINFO TZNAME UNISTD VSPRINTF WAITINT
  50. options            ATZ FOLDPROT='"0700"' MHRC MIME MSGPROT='"0600"' OVERHEAD
  51.  
  52. ------------------------------------------------------------------------------
  53.  
  54. *** ./h/mh.h.dist    Thu Dec 31 10:42:16 1992
  55. --- ./h/mh.h    Thu Dec 31 10:43:12 1992
  56. ***************
  57. *** 363,365 ****
  58. --- 363,369 ----
  59.       || defined(_AIX) || defined (sgi)) && !defined(UNISTD)
  60.   #define       UNISTD
  61.   #endif
  62. + #ifdef    SVR4
  63. + #define signal sigset
  64. + #endif
  65. *** ./sbr/pidwait.c.dist    Thu Dec 31 11:13:22 1992
  66. --- ./sbr/pidwait.c    Thu Dec 31 11:13:35 1992
  67. ***************
  68. *** 33,39 ****
  69.       }
  70.   
  71.   #ifdef    SVR4
  72. !     pid = waitpid (id, &status, WUNTRACED);
  73.   #else
  74.       while ((pid = wait (&status)) != NOTOK && pid != id)
  75.       continue;
  76. --- 33,39 ----
  77.       }
  78.   
  79.   #ifdef    SVR4
  80. !     pid = waitpid (id, &status, 0);
  81.   #else
  82.       while ((pid = wait (&status)) != NOTOK && pid != id)
  83.       continue;
  84. *** ./support/pop/popd.c.dist    Mon Dec 21 21:55:36 1992
  85. --- ./support/pop/popd.c    Mon Dec 21 22:24:51 1992
  86. ***************
  87. *** 189,195 ****
  88. --- 189,199 ----
  89.       padios ("socket", "unable to bind");
  90.   
  91.   #ifdef    SIGCHLD
  92. + #ifdef    SYS5
  93. +     (void) signal (SIGCHLD, SIG_IGN);
  94. + #else    /* SYS5 */
  95.       (void) signal (SIGCHLD, chldser);
  96. + #endif    /* SYS5 */
  97.   #endif    /* SIGCHLD */
  98.       (void) listen (sd, SOMAXCONN);
  99.   #endif /* KPOP */
  100. ***************
  101. *** 215,221 ****
  102. --- 219,227 ----
  103.           case OK: 
  104.           (void) close (sd);
  105.   #ifdef    SIGCHLD
  106. + #ifndef SYS5
  107.           (void) signal (SIGCHLD, SIG_DFL);
  108. + #endif    /* SYS5 */
  109.   #endif    /* SIGCHLD */
  110.           server (fd, osock);
  111.           _exit (0);
  112. ***************
  113. *** 403,408 ****
  114. --- 409,415 ----
  115.   /* ARGSUSED */
  116.   
  117.   #ifdef    SIGCHLD
  118. + #ifndef    SYS5
  119.   
  120.   static int chldser (sig, code, sc)
  121.   int    sig;
  122. ***************
  123. *** 419,424 ****
  124. --- 426,432 ----
  125.       continue;
  126.   }
  127.   
  128. + #endif /* SYS5 */
  129.   #endif /* SIGCHLD */
  130.   #endif /* KPOP */
  131.   
  132. *** ./support/pop/syslog.c.dist    Mon Dec 21 22:25:04 1992
  133. --- ./support/pop/syslog.c    Mon Dec 21 22:25:58 1992
  134. ***************
  135. *** 1,4 ****
  136. ! #if !defined (BSD43) && !defined(hpux)
  137.   #ifndef lint
  138.   static char SccsId[] =    "@(#)syslog.c    4.1 (Berkeley) 5/27/83";
  139.   #endif
  140. --- 1,4 ----
  141. ! #if !defined (BSD43) && !defined(hpux) && !defined (sgi)
  142.   #ifndef lint
  143.   static char SccsId[] =    "@(#)syslog.c    4.1 (Berkeley) 5/27/83";
  144.   #endif
  145.  
  146. ------------------------------------------------------------------------------
  147.