ports/58002: [patch] net/dcgui-0.2.19: fix for "Can't resolve path for dcgui-qt"
Ion-Mihai Tetcu
itetcu at apropo.ro
Tue Oct 14 12:20:15 UTC 2003
>Number: 58002
>Category: ports
>Synopsis: [patch] net/dcgui-0.2.19: fix for "Can't resolve path for dcgui-qt"
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Oct 14 05:20:13 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Ion-Mihai Tetcu
>Release: FreeBSD 5.1-RELEASE-p10 i386
>Organization:
>Environment:
System: FreeBSD buh.cameradicommercio.ro 5.1-RELEASE-p10 FreeBSD 5.1-RELEASE-p10 #0: Wed Oct 8 14:10:39 EEST 2003 root at buh.cameradicommercio.ro:/usr/obj/usr/src/sys/fst3debug i386
buh>/usr/ports/net/dcgui# pkg_info -I 'dcgui*'
dcgui-0.2.19 A Direct Connect client QT GUI
>Description:
dcgui is installed by default in /usr/X11R6/bin/, but it searchs only
in /usr/bin and /usr/local/bin resulting in a "Can't resolve path for
dcgui-qt" message when in the teminal. It doesn't seems to have any
other effect.
>How-To-Repeat:
Type dcgui-qt in a terminal.
>Fix:
mkdir /usr/ports/net/dcgui/files
Save the patch bellow in a file named patch-main.cpp in the new files
directory.
cd /usr/ports/net/dcgui/ && make deinstall reinstall clean
--- patch-main.cpp begins here ---
--- dcgui/main.cpp.orig Thu Aug 21 11:55:16 2003
+++ dcgui/main.cpp Tue Oct 14 14:02:01 2003
@@ -182,6 +182,8 @@
arg_0 = CString("/usr/bin/") + argv[0];
else if ( d.IsFile( CString("/usr/local/bin/") + argv[0], FALSE ) )
arg_0 = CString("/usr/local/bin/") + argv[0];
+ else if ( d.IsFile( CString("/usr/X11R6/bin/") + argv[0], FALSE ) )
+ arg_0 = CString("/usr/X11R6/bin/") + argv[0];
else
printf("Can't resolve path for '%s'\n",argv[0]);
#endif
--- patch-main.cpp ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list