Subject: Re: pkg/4578: ghostscript can't be compiled
To: None <tron@lyssa.owl.de>
From: Jim Bernard <jbernard@tater.mines.edu>
List: netbsd-bugs
Date: 11/26/1997 06:36:38
> >Synopsis:       ghostscript can't be compiled
...
> >Fix:
> It seems that "pkgsrc/print/ghostscript5/patches/patch-aa" is corrupt and
> needs to be replaced.
> 
> >Audit-Trail:
> >Unformatted:
> >> Checksum OK for ghostscript-5.03.tar.gz.
> >> Checksum OK for ghostscript-5.03gnu.tar.gz.
> >> Checksum OK for ghostscript-fonts-std-5.03.tar.gz.
> >> Checksum OK for ghostscript-fonts-other-5.03.tar.gz.
> >> Checksum OK for hp850.zip.
> ...
> ===>  Patching for ghostscript-5.03
> ===>  Applying NetBSD patches for ghostscript-5.03
> patch: **** malformed patch at line 5: dev bitrgb.dev bitcmyk.dev bmpmono.dev bmp16.dev bmp256.dev bmp16m.dev cgmmono.dev cgm8.dev cgm24.dev cif.dev jpeg.dev jpeggray.dev miff24.dev mgrmono.dev mgrgray2.dev mgrgray4.dev mgrgray8.dev mgr4.dev mgr8.dev pdfwrite.dev pcxmono.dev pcxgray.dev pcx16.dev pcx256.dev pcx24b.dev pcxcmyk.dev pbm.dev pbmraw.dev pgm.dev pgmraw.dev pgnm.dev pgnmraw.dev pnm.dev pnmraw.dev ppm.dev ppmraw.dev pkm.dev pkmraw.dev pngmono.dev pnggray.dev png16.dev png256.dev png16m.dev psmono.dev psgray.dev sgirgb.dev tiff12nc.dev tiff24nc.dev tifflzw.dev tiffpack.dev

  It looks like patch has blown up on a line longer than 1024 chars (there is
one such line in the patch).  There was a recent fix to patch that increased
its line limit to 2048 (IIRC) chars--perhaps you should install that and try
again.  FWIW: the GNU version of patch did away with the line-length limit
some time ago.

--Jim