summaryrefslogtreecommitdiff
path: root/net-p2p/linuxdcpp/files/patch-disable_binreloc
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/linuxdcpp/files/patch-disable_binreloc')
-rw-r--r--net-p2p/linuxdcpp/files/patch-disable_binreloc34
1 files changed, 34 insertions, 0 deletions
diff --git a/net-p2p/linuxdcpp/files/patch-disable_binreloc b/net-p2p/linuxdcpp/files/patch-disable_binreloc
new file mode 100644
index 000000000000..8e4efac42fab
--- /dev/null
+++ b/net-p2p/linuxdcpp/files/patch-disable_binreloc
@@ -0,0 +1,34 @@
+--- linux/SConstruct.orig Sun Jul 16 11:25:22 2006
++++ linux/SConstruct Sun Jul 16 11:25:57 2006
+@@ -8,7 +8,6 @@
+ 'hashdialog.cc',
+ 'hub.cc',
+ 'mainwindow.cc',
+- 'prefix.cc',
+ 'privatemessage.cc',
+ 'publichubs.cc',
+ 'search.cc',
+--- linux/wulformanager.cc.orig Sun Jul 16 11:25:32 2006
++++ linux/wulformanager.cc Sun Jul 16 11:26:29 2006
+@@ -17,7 +17,6 @@
+ */
+
+ #include "wulformanager.hh"
+-#include "prefix.hh"
+ #include "publichubs.hh"
+ #include "downloadqueue.hh"
+ #include "hub.hh"
+@@ -230,13 +229,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;
+ }
+