home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / sgi / 18209 < prev    next >
Encoding:
Internet Message Format  |  1992-12-21  |  3.1 KB

  1. Path: sparky!uunet!olivea!spool.mu.edu!agate!boulder!nordsieck.cs.Colorado.EDU!millert
  2. From: millert@nordsieck.cs.Colorado.EDU (Todd C. Miller)
  3. Newsgroups: comp.sys.sgi
  4. Subject: irix patches for mh 6.8
  5. Message-ID: <1992Dec18.221716.19968@colorado.edu>
  6. Date: 18 Dec 92 22:17:16 GMT
  7. Sender: news@colorado.edu (The Daily Planet)
  8. Organization: University of Colorado, Boulder
  9. Lines: 104
  10. Nntp-Posting-Host: nordsieck.cs.colorado.edu
  11.  
  12. Here are the changes I needed to make to the mh 6.8 distribuition to make it
  13. compile under Irix 4.0.1 plus the MH config file I used.  Note that you'll
  14. definately want to modify the config file for your own use, probably
  15. extensively.
  16.  
  17. # irix4 - Sgi Irix 4.x configuration file for MH 6.8 on hpsc indigos:
  18.  
  19. bin             /usr/local/mh/bin
  20. etc             /usr/local/mh/lib
  21. mandir          /usr/local/mh/man
  22. manuals         standard
  23. mail            /var/spool/mail
  24. mailgroup       mail
  25. editor            /usr/bsd/vi
  26. remove          /bin/rm -f
  27. chown           /bin/chown
  28. mts             sendmail/smtp
  29. bboards         off
  30. bbdelivery      off
  31. bbhome          /usr/spool/bboards
  32. mf              off
  33. pop             off
  34. cc              cc
  35. ccoptions       -cckr -O
  36. curses          -lcurses
  37. ldoptions       -s -O
  38. ldoptlibs
  39. sprintf         int
  40. sharedlib       off
  41. slibdir         /usr/local/lib
  42. ranlib          on
  43. signal            void
  44. # options
  45. options            ATTVIBUG
  46. options            FLOCK
  47. options            NTOHLSWAP
  48. options            RENAME
  49. options            UNISTD
  50. options            VSPRINTF
  51. options            DBM
  52. options            MIME
  53. options            MSGID
  54. options            SBACKUP='"\\043"'
  55. options            FOLDPROT='"0700"' 
  56. optione            RPATHS
  57. options         BIND 
  58. options         MHE
  59. options         MHRC
  60. options         MORE='"/usr/bsd/more"'
  61. options         OVERHEAD
  62. options         SOCKETS 
  63. options         SYS5
  64. options         SYS5DIR
  65. options         TZNAME
  66. options            WHATNOW
  67. # config file ends
  68.  
  69. Here are the patches I needed to make, they work for me but your mileage may
  70. vary.
  71.  
  72. *** sbr/makedir.c.dist    Tue Dec 15 09:55:22 1992
  73. --- sbr/makedir.c    Wed Dec 16 13:46:20 1992
  74. ***************
  75. *** 15,21 ****
  76.   #include <stdio.h>
  77.   
  78.   #if defined (BSD42) || defined (hpux) || defined(SVR4) || \
  79. !     defined(ncr) || defined (_AIX) || defined(AUX)
  80.   #include <errno.h>
  81.   #include <sys/param.h>
  82.   #include <sys/file.h>
  83. --- 15,21 ----
  84.   #include <stdio.h>
  85.   
  86.   #if defined (BSD42) || defined (hpux) || defined(SVR4) || \
  87. !     defined(ncr) || defined (_AIX) || defined(AUX) || defined(sgi)
  88.   #include <errno.h>
  89.   #include <sys/param.h>
  90.   #include <sys/file.h>
  91. *** zotnet/mts/lock.c.dist    Tue Dec 15 09:56:18 1992
  92. --- zotnet/mts/lock.c    Wed Dec 16 13:58:28 1992
  93. ***************
  94. *** 209,217 ****
  95.   
  96.   #if    defined(FLOCK) || defined(LOCKF) || defined(FCNTL)
  97.   
  98. ! #if    defined(BSD42) || defined(SVR4)
  99.   #include <sys/file.h>
  100. ! #if    defined(SUN40) || defined(SVR4)
  101.   #include <sys/fcntl.h>
  102.   #endif
  103.   #else 
  104. --- 209,217 ----
  105.   
  106.   #if    defined(FLOCK) || defined(LOCKF) || defined(FCNTL)
  107.   
  108. ! #if    defined(BSD42) || defined(SVR4) || defined(sgi)
  109.   #include <sys/file.h>
  110. ! #if    defined(SUN40) || defined(SVR4) || defined(sgi)
  111.   #include <sys/fcntl.h>
  112.   #endif
  113.   #else 
  114. -- 
  115.  Todd C. Miller    millert@cs.Colorado.EDU    Sys/Adm Undergraduate Operations
  116.