home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / bsd / 8639 < prev    next >
Encoding:
Text File  |  1992-11-09  |  3.3 KB  |  92 lines

  1. Newsgroups: comp.unix.bsd
  2. Path: sparky!uunet!news.tek.com!uw-beaver!rice!news.Rice.edu!rich
  3. From: rich@Rice.edu (Richard Murphey)
  4. Subject: [386BSD] Ghostscript 2.5.2 patches
  5. In-Reply-To: nbladt@autelca.ascom.ch's message of Mon, 9 Nov 1992 07:35:00 GMT
  6. Message-ID: <RICH.92Nov9085925@omicron.Rice.edu>
  7. Sender: news@rice.edu (News)
  8. Reply-To: Rich@rice.edu
  9. Organization: Department of Electrical and Computer Engineering, Rice
  10.     University
  11. References: <1992Nov9.073500.17048@autelca.ascom.ch>
  12. Date: Mon, 9 Nov 1992 14:59:25 GMT
  13. Lines: 77
  14.  
  15.  
  16. These are patches to Ghostscript 2.5.2 for installation under 386BSD
  17. 0.1 and XFree86.  They've been submitted to Peter Deutsch, so the next
  18. version may not require any patching.
  19.  
  20.     NOTE!
  21.  
  22.     Before applying these patches, type
  23.  
  24.     ln -s unix-gcc.mak Makefile
  25.  
  26.     as suggested in make.doc.  Otherwise the third patch will fail.
  27.  
  28. For 386BSD only the first patch (to malloc_.h) is required.  The
  29. others are just an example of how I configured it.
  30.  
  31. I gave up on compiling the fonts into ghostscript, though dynamicly
  32. loading them works fine.  If anyone solves it please send me a note!
  33. Rich Murphey 
  34.  
  35. *** gs252/malloc_.h~    Fri Sep 18 14:42:24 1992
  36. --- gs252/malloc_.h    Tue Sep 29 18:44:20 1992
  37. ***************
  38. *** 33,39 ****
  39.   #    if defined(BSD4_2) || defined(apollo) || defined(vax) || defined(sequent) || defined(UTEK) || defined(_IBMR2)
  40.          extern char *malloc();
  41.   #    else  /* should really be a POSIX define */
  42. ! #      if defined(_HPUX_SOURCE) || defined(__CONVEX__) || defined(__convex__) || defined(__OSF__)
  43.   #        include <stdlib.h>
  44.   #      else
  45.   #        include <malloc.h>
  46. --- 33,39 ----
  47.   #    if defined(BSD4_2) || defined(apollo) || defined(vax) || defined(sequent) || defined(UTEK) || defined(_IBMR2)
  48.          extern char *malloc();
  49.   #    else  /* should really be a POSIX define */
  50. ! #      if defined(_HPUX_SOURCE) || defined(__CONVEX__) || defined(__convex__) || defined(__OSF__) || defined(__386BSD__)
  51.   #        include <stdlib.h>
  52.   #      else
  53.   #        include <malloc.h>
  54. *** gs252/gdevxini.c~    Tue Sep  8 18:46:26 1992
  55. --- gs252/gdevxini.c    Tue Sep 29 18:33:37 1992
  56. ***************
  57. *** 31,37 ****
  58.   /* Define whether to use a backing pixmap to handle expose events. */
  59.   /* Note that this is a variable rather than a #define. */
  60.   /* Note also that it is consulted each time we open an X device. */
  61. ! private int use_backing = 1;
  62.   
  63.   /* Define default window parameters. */
  64.   /* Some of these can be set in the makefile. */
  65. --- 31,37 ----
  66.   /* Define whether to use a backing pixmap to handle expose events. */
  67.   /* Note that this is a variable rather than a #define. */
  68.   /* Note also that it is consulted each time we open an X device. */
  69. ! private int use_backing = 0;
  70.   
  71.   /* Define default window parameters. */
  72.   /* Some of these can be set in the makefile. */
  73. *** gs252/Makefile~    Tue Sep 29 18:32:41 1992
  74. --- gs252/Makefile    Tue Sep 29 18:35:22 1992
  75. ***************
  76. *** 33,39 ****
  77.   INSTALL_PROGRAM = $(INSTALL) -m 775
  78.   INSTALL_DATA = $(INSTALL) -m 664
  79.   
  80. ! prefix = /usr/local
  81.   exec_prefix = $(prefix)
  82.   bindir = $(exec_prefix)/bin
  83.   datadir = $(prefix)/lib
  84. --- 33,39 ----
  85.   INSTALL_PROGRAM = $(INSTALL) -m 775
  86.   INSTALL_DATA = $(INSTALL) -m 664
  87.   
  88. ! prefix = /usr/site/gs252
  89.   exec_prefix = $(prefix)
  90.   bindir = $(exec_prefix)/bin
  91.   datadir = $(prefix)/lib
  92.