home *** CD-ROM | disk | FTP | other *** search
/ ftp.freefriends.org / ftp.freefriends.org.tar / ftp.freefriends.org / arnold / Source / mush.rstevens.tar.gz / mush.tar / Patch.solaris.2.3 < prev    next >
Internet Message Format  |  1994-07-09  |  4KB

  1. From ronr@ebay.sun.com Wed Jun 22 07:43:51 1994
  2. Received: from noao.edu by gemini (4.1/SAG.sat.13)
  3.     id AA18961; Wed, 22 Jun 94 07:43:50 MST; for rstevens
  4. Received: from Sun.COM by noao.edu (4.1/SAG-Noao.G95)
  5.     id AA11544; Wed, 22 Jun 94 07:43:54 MST; for rstevens@gemini
  6. Received: from EBay.Sun.COM (female.EBay.Sun.COM) by Sun.COM (sun-barr.Sun.COM)
  7.     id AA04757; Wed, 22 Jun 94 07:43:53 PDT
  8. Received: from ateami2.EBay.Sun.COM by EBay.Sun.COM (5.0/SMI-5.3)
  9.     id AA26388; Wed, 22 Jun 1994 07:43:51 +0800
  10. Received: by ateami2.EBay.Sun.COM (5.0/SMI-SVR4)
  11.     id AA09618; Wed, 22 Jun 1994 07:43:48 +0800
  12. Message-Id: <9406221443.AA09618@ateami2.EBay.Sun.COM>
  13. From: ronr@ebay.sun.com (RON RICHARDSON)
  14. Date: Wed, 22 Jun 1994 07:43:47 -0700
  15. X-Mailer: Mail User's Shell (7.2.5 10/14/92)
  16. To: rstevens@noao.edu (W. Richard Stevens)
  17. Subject: Re: Success
  18. Content-Length: 3342
  19. Status: OR
  20.  
  21.  
  22. See the below from Hal.  This makefile worked for me.
  23.  
  24. Ron
  25.  
  26.  _____________________________________________________________<>
  27. |FROM: W. Richard Stevens [rstevens@noao.edu] 
  28. |  TO: ronr@EBay.Sun.COM 
  29. |DATE: Wed Jun 22,  6:07 
  30. |SUBJ: Re: Success 
  31. |
  32. | Care to share the Solaris 2.3 changes that are required?  Mine dumps
  33. | core, and the 4.1.3 exectuable that I have inserts the wrong date
  34. | (compatability bug, I'd guess).
  35. |     Rich Stevens  (rstevens@noao.edu)
  36. |_____________________________________________________________<>
  37.  
  38. --- Forwarded mail from pomeranz@TFS.COM
  39.  
  40. >From pomeranz@TFS.COM  Mon Jun 20 18:18:44 1994
  41. From: pomeranz@TFS.COM
  42. To: ronr@EBay.Sun.COM (RON RICHARDSON - SUN MICROSYSTEMS)
  43. Subject: Re: mush under Solaris 2.x
  44.  
  45. It's do-able, but it helps if you have gcc installed (makefile below).
  46. The only thing you need apart from the Makefile is to add the following
  47. defines in malloc.c and pop.c
  48.  
  49. #define bcopy(src,dst,len)     memcpy(dst,src,len)
  50. #define bzero(src,len)            memset(src,0,len)
  51.  
  52. --Hal
  53.  
  54. =====
  55.  
  56. # Mush makefile for system V.  Note: SIGRET should return void for normal
  57. # sys-v, but Att PC users should *not* have it defined.  See the README!!
  58. #
  59. HDRS1= mush.h config.h
  60. HDRS2= strings.h options.h
  61. HDRS3= bindings.h glob.h
  62. HDRS4= version.h pop.h
  63. SRCS1= commands.c dates.c execute.c expr.c folders.c \
  64.     hdrs.c init.c loop.c mail.c main.c misc.c msgs.c pick.c \
  65.     print.c setopts.c signals.c sort.c viewopts.c options.c lock.c
  66. SRCS2= bind.c curs_io.c curses.c file.c strings.c macros.c \
  67.     addrs.c malloc.c glob.c command2.c pop.c pmush.c xcreat.c
  68.  
  69. OBJS1= commands.o dates.o execute.o expr.o folders.o \
  70.     hdrs.o init.o loop.o mail.o main.o misc.o msgs.o pick.o \
  71.     print.o setopts.o signals.o sort.o viewopts.o options.o lock.o
  72. OBJS2= bind.o curs_io.o curses.o file.o strings.o macros.o \
  73.     addrs.o malloc.o glob.o command2.o pop.o pmush.o xcreat.o
  74.  
  75. HELP= README README-7.0 README-7.1 README-7.2.0 README-7.2.2 \
  76.     README-7.2.4 mush.1 cmd_help Mushrc Mailrc Gnurc \
  77.     sample.mushrc advanced.mushrc digestify
  78.  
  79. # Sun OS systems who wish to compile with sys-v options:
  80. # CC= /usr/5bin/cc
  81. # CFLAGS=     -O -DSYSV -DCURSES -DUSG -DDIRECTORY
  82. # LIBS= -L/usr/5lib -lcurses
  83.  
  84. # IRIX 3.2 systems (SGI Iris workstations) should add -DDIRECTORY to CFLAGS
  85. # SCO UNIX 3.2 should add -DDIRECTORY -DSELECT and should avoid library -lx
  86. # System V Release 4 (SunOS 5?) should add -DSVR4 -DDIRECTORY to CFLAGS and
  87. #  should replace -lPW with -lgen
  88.  
  89. CC=        gcc -fwritable-strings
  90. CFLAGS=     -O -DUSG -DCURSES -DREGCMP -DSIGRET=void -DSVR4
  91. LDFLAGS=
  92. LIBS=         -lcurses -lgen
  93. OTHERLIBS=    -lsocket -lnsl
  94. # Use some variant of this one if you #define MMDF in config.h
  95. #OTHERLIBS=/usr/src/mmdf/lib/libmmdf.a
  96. PROG=        mush
  97.  
  98. $(PROG): $(OBJS1) $(OBJS2)
  99.     @echo loading...
  100.     @$(CC) $(LDFLAGS) $(OBJS1) $(OBJS2) -o $(PROG) $(LIBS) $(OTHERLIBS)
  101.  
  102. $(OBJS1): $(HDRS1) $(HDRS2)
  103. $(OBJS2): $(HDRS1) $(HDRS2) $(HDRS3)
  104. loop.o: version.h
  105.  
  106. BINDIR= /usr/local/bin
  107. LIBDIR= /usr/local/lib/mush
  108. MRCDIR= /usr/local/lib/mush
  109. MANDIR= /usr/local/man/man1
  110. MANEXT= 1
  111.  
  112. install: mush
  113.     cp mush $(BINDIR)
  114.     strip $(BINDIR)/mush
  115.     chmod 0755 $(BINDIR)/mush
  116.     cp mush.1 $(MANDIR)/mush.$(MANEXT)
  117.     chmod 0644 $(MANDIR)/mush.$(MANEXT)
  118.     cp cmd_help $(LIBDIR)
  119.     chmod 0644 $(LIBDIR)/cmd_help
  120.     cp Mushrc $(MRCDIR)/Mushrc
  121.     chmod 0644 $(MRCDIR)/Mushrc
  122.  
  123.  
  124. --- End of forwarded message from pomeranz@TFS.COM
  125.  
  126.  
  127.