Subject: Re: pkg/36177
To: None <,,>
From: Jan Danielsson <>
List: pkgsrc-bugs
Date: 04/21/2007 01:10:03
The following reply was made to PR pkg/36177; it has been noted by GNATS.

From: Jan Danielsson <>
To: "Jeremy C. Reed" <>
Subject: Re: pkg/36177
Date: Sat, 21 Apr 2007 03:08:17 +0200

 This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: quoted-printable
 Jeremy C. Reed wrote:
 > Can you try the ghostscript 8.56 version?
 > Its release notes say "Better support for 64-bit platforms".
 > Edit the pkgsrc/print/ghostscript/Makefile to remove PKGREVISION and=20
 > update version number on above two lines, do:
 > make makesum
 > make
    This leads to a compilation problem. Looks pretty easy to fix, but
 its way past my bed time, so I'll have to look at it tomorrow.
 cp ./obj/ ./obj/
 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2  -Wall
 -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes
 -Wwrite-strings -Wno-strict-aliasing -fno-builtin -fno-common
 -DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE=3D"unsigned long int" -O2 -pipe
 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2
 -Isrc/src/libjasper/include -I./obj -I./src -DJAS_CONFIGURE  -o
 =2E/obj/sjpx.o -c ./src/sjpx.c
 src/sjpx.c:37: error: parse error before "err"
 src/sjpx.c:38: warning: function declaration isn't a prototype
 src/sjpx.c: In function `s_jpx_jas_error_cb':
 src/sjpx.c:39: error: `err' undeclared (first use in this function)
 src/sjpx.c:39: error: (Each undeclared identifier is reported only once
 src/sjpx.c:39: error: for each function it appears in.)
 src/sjpx.c:39: error: `msg' undeclared (first use in this function)
 src/sjpx.c: In function `s_jpxd_init':
 src/sjpx.c:62: warning: implicit declaration of function `jas_set_error_c=
 src/sjpx.c: At top level:
 src/sjpx.c:459: warning: initialization from incompatible pointer type
 [] note: The real command line, after the pkgsrc wrapper, was:
 /home/pkgsrc/pkgsrc/print/ghostscript/work/.gcc/bin/gcc -DHAVE_MKSTEMP
 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes
 -Wwrite-strings -Wno-strict-aliasing -fno-builtin -fno-common
 -DHAVE_STDINT_H "-DGX_COLOR_INDEX_TYPE=3Dunsigned long int" -O2 -pipe
 -Isrc/src/libjasper/include -I./obj -I./src -DJAS_CONFIGURE -o
 =2E/obj/sjpx.o -c ./src/sjpx.c
 gmake: *** [obj/sjpx.o] Error 1
 *** Error code 2
 make: stopped in /home/pkgsrc/pkgsrc/print/ghostscript
 *** Error code 1
 make: stopped in /home/pkgsrc/pkgsrc/print/ghostscript
 Kind regards,
 Jan Danielsson
 Content-Type: application/pgp-signature; name="signature.asc"
 Content-Description: OpenPGP digital signature
 Content-Disposition: attachment; filename="signature.asc"
 Version: GnuPG v1.4.7 (NetBSD)