"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." PR: 58002 Submitted by: Ion-Mihai Tetcu <itetcu@apropo.ro> Aprroved by: Markus Brueffer <brueffer@phoenix-systems.de>
This commit is contained in:
parent
fc59e3a997
commit
16b8c62da9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=93246
3 changed files with 63 additions and 0 deletions
21
net-p2p/valknut/files/patch-main.cpp
Normal file
21
net-p2p/valknut/files/patch-main.cpp
Normal file
|
@ -0,0 +1,21 @@
|
|||
|
||||
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 ---
|
||||
|
||||
|
21
net/dcgui/files/patch-main.cpp
Normal file
21
net/dcgui/files/patch-main.cpp
Normal file
|
@ -0,0 +1,21 @@
|
|||
|
||||
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 ---
|
||||
|
||||
|
21
net/valknut/files/patch-main.cpp
Normal file
21
net/valknut/files/patch-main.cpp
Normal file
|
@ -0,0 +1,21 @@
|
|||
|
||||
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 ---
|
||||
|
||||
|
Loading…
Reference in a new issue