From 87f8d0699e6d2a975be721199ecab929481f12c2 Mon Sep 17 00:00:00 2001 From: Gabor Kovesdan Date: Sun, 10 Dec 2006 21:18:10 +0000 Subject: - Add rc(8) script - Fix plugin support - Fix dependencies - Modify doc-set - Add database support for non-English hubs - Installation fixes - portlint(1) PR: ports/102406 Submitted by: Pankov Pavel Approved by: erwin (mentor), maintainer timeout --- net-p2p/verlihub/files/patch-prefix-conf-dir | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 net-p2p/verlihub/files/patch-prefix-conf-dir (limited to 'net-p2p/verlihub/files/patch-prefix-conf-dir') diff --git a/net-p2p/verlihub/files/patch-prefix-conf-dir b/net-p2p/verlihub/files/patch-prefix-conf-dir new file mode 100644 index 000000000000..c935a86f12cb --- /dev/null +++ b/net-p2p/verlihub/files/patch-prefix-conf-dir @@ -0,0 +1,24 @@ +Index: src/verlihub.cpp +=================================================================== +RCS file: /cvsroot/verlihub/verlihub/src/verlihub.cpp,v +retrieving revision 1.14 +diff -u -r1.14 verlihub.cpp +--- src/verlihub.cpp 24 Apr 2005 19:35:30 -0000 1.14 ++++ src/verlihub.cpp 8 Dec 2006 21:08:11 -0000 +@@ -25,6 +25,7 @@ + #include + #include + #include ++#include + #include "script_api.h" + + using namespace std; +@@ -81,6 +82,8 @@ + const char *DirName = NULL; + char *HomeDir = getenv("HOME"); + string tmp; ++ DirName = PREFIXDIR "/etc/verlihub"; ++ if ((DirName != NULL) && DirExists(DirName)) ConfigBase = DirName; + if (HomeDir) + { + tmp = HomeDir; -- cgit v1.2.3