aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2003-11-07 03:10:53 +0800
committerarved <arved@FreeBSD.org>2003-11-07 03:10:53 +0800
commit3384720d042a24de3630b56d0b1eda3106316aff (patch)
treeca597b18602e6800ac7de025d062aa11152a33eb /net
parent5ac76c629845922434a586cd9e86c463aaabdf4c (diff)
downloadfreebsd-ports-gnome-3384720d042a24de3630b56d0b1eda3106316aff.tar.gz
freebsd-ports-gnome-3384720d042a24de3630b56d0b1eda3106316aff.tar.zst
freebsd-ports-gnome-3384720d042a24de3630b56d0b1eda3106316aff.zip
"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>
Diffstat (limited to 'net')
-rw-r--r--net/dcgui/files/patch-main.cpp21
-rw-r--r--net/valknut/files/patch-main.cpp21
2 files changed, 42 insertions, 0 deletions
diff --git a/net/dcgui/files/patch-main.cpp b/net/dcgui/files/patch-main.cpp
new file mode 100644
index 000000000000..58d3d2f4ed76
--- /dev/null
+++ b/net/dcgui/files/patch-main.cpp
@@ -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 ---
+
+
diff --git a/net/valknut/files/patch-main.cpp b/net/valknut/files/patch-main.cpp
new file mode 100644
index 000000000000..58d3d2f4ed76
--- /dev/null
+++ b/net/valknut/files/patch-main.cpp
@@ -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 ---
+
+