Subject: pkg/14859: games/xjig can't find image file when using xpkgwedge
To: None <gnats-bugs@gnats.netbsd.org>
From: None <kre@munnari.OZ.AU>
List: netbsd-bugs
Date: 12/06/2001 23:16:53
>Number: 14859
>Category: pkg
>Synopsis: /usr/X11R6/* path compiled into xjig (using xpkgwedge)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Dec 06 21:44:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Robert Elz
>Release: NetBSD-current 20011126 (pkgsrc of 20011205)
>Organization:
Prince of Songkla University
>Environment:
System: NetBSD fuchsia 1.5Y NetBSD 1.5Y (FUCHSIA) #2: Mon Nov 26 13:41:27 ICT 2001 kre@fuchsia:/usr/obj/sys/FUCHSIA i386
>Description:
/usr/X11R6/* path compiled into xjig (using xpkgwedge)
>How-To-Repeat:
cd pkgsrc/pkgtools/xpkgwedge
make install
cd ../../games/xjig
make install
xjig
and wait for ...
fuchsia$ xjig
xjig V2.4, by Helmut Hoenig, July-24-96
'/usr/X11R6/lib/xjig/tina.gif': File not found
>Fix:
Replace patches/patch-aa with ...
$NetBSD: patch-aa,v 1.2 1998/08/07 10:40:44 agc Exp $
--- Imakefile.orig Wed Jul 24 21:48:27 1996
+++ Imakefile Wed Apr 22 17:57:37 1998
@@ -8,7 +8,7 @@
XCOMM optimization on your version, but if it doesn't work, a compiler bug
XCOMM might be the reason...
-XCOMM CXX = gcc -g
+CXX = gcc -O5 -I${X11BASE}/include
XCOMM On some machines (like on linux) you can gain speed by using the
XCOMM MIT-SHM extension for transfering images to the server via shared
@@ -27,7 +27,7 @@
XCOMM which default file should be loaded if no option is set
- JIG_DEFAULT = \"tina.gif\"
+ JIG_DEFAULT = \"${PREFIX}/lib/xjig/tina.gif\"
XCOMM #######################################################################
>Release-Note:
>Audit-Trail:
>Unformatted: