*BSD News Article 8064


Return to BSD News archive

Path: sserve!manuel.anu.edu.au!munnari.oz.au!spool.mu.edu!olivea!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!yale!gumby!destroyer!cs.ubc.ca!uw-beaver!newsfeed.rice.edu!rice!news.Rice.edu!rich
From: rich@Rice.edu (Richard Murphey)
Newsgroups: comp.unix.bsd
Subject: Re: [386bsd] need help compiling ghostscript
Message-ID: <RICH.92Nov24081513@omicron.Rice.edu>
Date: 24 Nov 92 14:15:13 GMT
References: <8kTPuB1w165w@tsoft.sf-bay.org>
Sender: news@rice.edu (News)
Reply-To: Rich@rice.edu
Organization: Department of Electrical and Computer Engineering, Rice
	University
Lines: 27
In-Reply-To: bbs.barfeau@tsoft.sf-bay.org's message of Mon, 23 Nov 1992 23:25:30 GMT

In article <8kTPuB1w165w@tsoft.sf-bay.org> bbs.barfeau@tsoft.sf-bay.org (David Fox) writes:
   Hi, I got the GNU ghostscript but I am having trouble compiling it.
   Would some kind soul please email me patches so I can compile this?

The only critical patch to version 2.5.2 is to malloc_.h.  It's been
submitted to Peter Deutsch so later versions should support 386BSD
without any porting necessary.  Rich

*** gs252/malloc_.h~	Fri Sep 18 14:42:24 1992
--- gs252/malloc_.h	Tue Sep 29 18:44:20 1992
***************
*** 33,39 ****
  #    if defined(BSD4_2) || defined(apollo) || defined(vax) || defined(sequent) || defined(UTEK) || defined(_IBMR2)
         extern char *malloc();
  #    else  /* should really be a POSIX define */
! #      if defined(_HPUX_SOURCE) || defined(__CONVEX__) || defined(__convex__) || defined(__OSF__)
  #        include <stdlib.h>
  #      else
  #        include <malloc.h>
--- 33,39 ----
  #    if defined(BSD4_2) || defined(apollo) || defined(vax) || defined(sequent) || defined(UTEK) || defined(_IBMR2)
         extern char *malloc();
  #    else  /* should really be a POSIX define */
! #      if defined(_HPUX_SOURCE) || defined(__CONVEX__) || defined(__convex__) || defined(__OSF__) || defined(__386BSD__)
  #        include <stdlib.h>
  #      else
  #        include <malloc.h>