home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / aux / 4424 < prev    next >
Encoding:
Internet Message Format  |  1992-12-23  |  1.6 KB

  1. Path: sparky!uunet!gatech!usenet.ins.cwru.edu!agate!stanford.edu!rutgers!ucla-cs!ucla-mic!oculus.loni.ucla.edu!li
  2. From: li@oculus.loni.ucla.edu (James Li)
  3. Newsgroups: comp.unix.aux
  4. Subject: Diffs to gs252 (ghostscript 2.5.2) on A/UX 3.0
  5. Keywords: ghostscript 2.5.2 A/UX 3.0 aux gs gs252 bugs diffs
  6. Message-ID: <1992Dec23.173009.18452@mic.ucla.edu>
  7. Date: 24 Dec 92 01:30:09 GMT
  8. Organization: Jules Stein Eye Institute
  9. Lines: 41
  10. Nntp-Posting-Host: 149.142.138.33
  11.  
  12. Here are the diffs I came across to successfully compile gs252.
  13. I have done some preliminary testing and it works on various of
  14. the .ps files included in the distribution as well as a few troff 
  15. and pictures available here locally.  My next goal when I get around
  16. to it will be to get ghostview working and/or connect an HPII to
  17. the system.  If anyone has already done this and wishes to share
  18. their experiences, I will eagerly listen.
  19.  
  20. James Li
  21. li@oculus.loni.ucla.edu
  22.  
  23. P.S.  Happy Holidays to all!
  24.  
  25. [Diffs to compile gs252 on A/UX 3.0 below]
  26.  
  27. ls *old
  28.   16 gdevmem.h.old     16 gp_unix.c.old      6 gscoord.h.old
  29. oculus.li 3 % diff gdevmem.h*
  30. 134c134
  31. < # /* error sizeof(int) must be 2 or 4 for correct operation. */
  32. ---
  33. > #  error sizeof(int) must be 2 or 4 for correct operation.
  34. oculus.li 4 % diff gp_unix.c*
  35. 27,29c27,28
  36. < #include "sys/times.h"
  37. < #include "sys/time.h"
  38. < #include "time.h"
  39. ---
  40. > #include "time_.h"
  41. >
  42. oculus.li 5 % diff gscoord.h*
  43. 45c45
  44. <    ((pt)->x = (dx) / (pgs)->ctm.xx, (pt)->y = (dy) / (pgs)->ctm.yy, 0.0))
  45. ---
  46. >    ((pt)->x = (dx) / (pgs)->ctm.xx, (pt)->y = (dy) / (pgs)->ctm.yy, 0))
  47. oculus.li 6 % diff Makefile unix-cc.mak
  48. 74c74
  49. < CFLAGS=-O -A3 $(XCFLAGS)
  50. ---
  51. > CFLAGS=-O $(XCFLAGS)
  52. oculus.li 7 %
  53.