From owner-freebsd-ports Tue Mar 2 7: 0:52 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id DBFFA14D71 for ; Tue, 2 Mar 1999 07:00:17 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id HAA20493; Tue, 2 Mar 1999 07:00:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from torrent.hydro.on.ca (beck.Hydro.ON.CA [192.75.134.5]) by hub.freebsd.org (Postfix) with SMTP id AC20E14D89 for ; Tue, 2 Mar 1999 06:53:37 -0800 (PST) (envelope-from jservice@oht.hydro.on.ca) Received: id JAA14294; Tue, 2 Mar 1999 09:51:07 -0500 Received: by gateway id JAA01749 for ; Tue, 2 Mar 1999 09:45:27 -0500 (EST) Received: by gateway id JAA80686; Tue, 2 Mar 1999 09:45:35 -0500 (EST) (envelope-from jservice) Message-Id: <199903021445.JAA80686@oht.hydro.on.ca> Date: Tue, 2 Mar 1999 09:45:35 -0500 (EST) From: jservice@hydro.on.ca Reply-To: Jim.Service@oht.hydro.on.ca To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/10352: ghostscript55 port build fails using jpeg lib Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 10352 >Category: ports >Synopsis: ghostscript55 port build fails using jpeg lib >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Mar 2 07:00:01 PST 1999 >Closed-Date: >Last-Modified: >Originator: Jim.Service@oht.hydro.on.ca >Release: FreeBSD 3.1-RELEASE i386 >Organization: Ontario Hydro Technologies >Environment: ghostscript5.5 port, using installed jpeg lib port >Description: Build of ghostscript5.5 fails with error about missing definition in sjpegerr.c. >How-To-Repeat: make && make install in ports/graphics/jpeg make in ports/print/ghostscript5.5 >Fix: The jpeg lib port sets JPEG_LIB_VERSION to this in jpeglib.h: #define JPEG_LIB_VERSION 8 /* Version 6b */ However ports/ghostscript55/work/gs5.50/sjpegerr.c(45) does this cpp compare: #if JPEG_LIB_VERSION <= 50 To fix change line 45 in gs5.50/sjpegerr.c to this: #if JPEG_LIB_VERSION <= 5 >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message