Date: Tue, 14 Oct 2003 15:12:12 +0300 (EEST) From: Ion-Mihai Tetcu <itetcu@apropo.ro> To: FreeBSD-gnats-submit@FreeBSD.org Cc: Ion-Mihai Tetcu <itetcu@apropo.ro> Subject: ports/58002: [patch] net/dcgui-0.2.19: fix for "Can't resolve path for dcgui-qt" Message-ID: <20031014121212.7E51E6B@buh.cameradicommercio.ro> Resent-Message-ID: <200310141220.h9ECKDE6090247@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031014121212.7E51E6B>