From owner-freebsd-ports Sat Oct 2 4: 0:10 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 BB3BB1518D for ; Sat, 2 Oct 1999 04:00:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id EAA43800; Sat, 2 Oct 1999 04:00:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id 0568615167; Sat, 2 Oct 1999 03:59:42 -0700 (PDT) Message-Id: <19991002105942.0568615167@hub.freebsd.org> Date: Sat, 2 Oct 1999 03:59:42 -0700 (PDT) From: amorita@meadow.scphys.kyoto-u.ac.jp To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: ports/14086: GS_PATH extraction problem in graphics/xv ports Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 14086 >Category: ports >Synopsis: GS_PATH extraction problem in graphics/xv ports >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: Sat Oct 2 04:00:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Akio Morita >Release: FreeBSD 3.3-STABLE i386 >Organization: Department of Physics, Kyoto University, Japan >Environment: FreeBSD sasami.jyurai 3.3-STABLE FreeBSD 3.3-STABLE #0: Wed Sep 29 00:40:14 JST 1999 amorita@sasami.jyurai:/usr/src/sys/compile/SASAMI i386 >Description: In graphics/xv ports, both GS_PATH and GS_LIB in "config.h" contain ${LOCALBASE} and these macro are refered in "xvps.c" . But, C compiler don't extract ${LOCALBASE} and xv failed to find ghostscript in runtime(xv tries to find ghostscript in /bin/gs). Thus we can't use PostScript and PDF rendering in xv. In additional, this ${LOCALBASE} problem affect to xv-m17n ports. >How-To-Repeat: Compile xv or xv-m17n ports and try to view PostScript file. >Fix: Extract ${LOCALBASE} in "config.h" . Following patch is one of the solutions. begin 644 xv.diff M26YD97@Z($UA:V5F:6QE"CT]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T] M/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T*4D-3(&9I M;&4Z("]&UA61$E35'TO M>'8M<&YG+3$N,F0N<&%T8V@*(`E`)'M0051#2'T@)'M0051#2%]!4D=3?2`M M<#$@/"`D>UA61$E35'TO<&YG+3$N,F0M9FEX+G!A=&-H"B`)0"1[4$%40TA] M("1[4$%40TA?05)'4WT@+7`Q(#P@)'M85D1)4U1]+VIP+65X="UB>FEP,BYP M871C:`HK"4`D>TU6?2`D>U=22U-20WTO8V]N9FEG+F@@)'M74DM34D-]+V-O M;F9I9RYH+FEN"BL)0"1[4T5$?2`M92!S0%]?3$]#04Q"05-%7U]`)'M,3T-! M3$)!4T5]0"`\("1[5U)+4U)#?2]C;VYF:6TQ/0T%,0D%317TO8FEN+V=S(@HM*R-D969I;F4@1U-?3$E"("`B)'M,3T-! M3$)!4T5]+VQI8B]G:&]S='-CRelease-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message