ports/net-p2p/linuxdcpp/files/patch-disable_binreloc
2006-08-23 02:56:10 +00:00

34 lines
785 B
Text

--- linux/SConstruct.orig Mon Aug 21 12:20:32 2006
+++ linux/SConstruct Mon Aug 21 12:20:57 2006
@@ -9,7 +9,6 @@
'hashdialog.cc',
'hub.cc',
'mainwindow.cc',
- 'prefix.cc',
'privatemessage.cc',
'publichubs.cc',
'search.cc',
--- linux/wulformanager.cc.orig Mon Aug 21 12:20:40 2006
+++ linux/wulformanager.cc Mon Aug 21 12:21:31 2006
@@ -24,7 +24,6 @@
#include "func.hh"
#include "hashdialog.hh"
#include "hub.hh"
-#include "prefix.hh"
#include "privatemessage.hh"
#include "publichubs.hh"
#include "search.hh"
@@ -299,13 +298,7 @@
string WulforManager::getPath()
{
-#ifdef _DATADIR
string ret = string(_DATADIR) + PATH_SEPARATOR_STR + "ldcpp";
-#else
- char *temp = br_extract_dir(SELFPATH);
- string ret = string(temp);
- free(temp);
-#endif
return ret;
}