aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/deluge05/files/patch-setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/deluge05/files/patch-setup.py')
-rw-r--r--net-p2p/deluge05/files/patch-setup.py40
1 files changed, 0 insertions, 40 deletions
diff --git a/net-p2p/deluge05/files/patch-setup.py b/net-p2p/deluge05/files/patch-setup.py
deleted file mode 100644
index 2218f1fba390..000000000000
--- a/net-p2p/deluge05/files/patch-setup.py
+++ /dev/null
@@ -1,40 +0,0 @@
---- setup.py.orig 2008-05-19 17:26:22.000000000 -0500
-+++ setup.py 2008-05-19 17:28:27.000000000 -0500
-@@ -103,13 +103,13 @@
- "-DHAVE_INCLUDE_LIBTORRENT_ASIO_SSL_STREAM_HPP=1",
- "-DHAVE_INCLUDE_LIBTORRENT_ASIO_IP_TCP_HPP=1",
- "-DHAVE_PTHREAD=1", "-DTORRENT_USE_OPENSSL=1", "-DHAVE_SSL=1",
-- "-DNDEBUG=1", "-O2"]
-- if ARCH == "x64":
-- EXTRA_COMPILE_ARGS.append("-DAMD64")
-+ "-DNDEBUG=1"]
-+# if ARCH == "x64":
-+# EXTRA_COMPILE_ARGS.append("-DAMD64")
-
- includedirs = ['./libtorrent', './libtorrent/include',
- './libtorrent/include/libtorrent',
-- '/usr/include/python' + python_version]
-+ '%%LOCALBASE%%/include']
-
- if OS == "linux":
- if os.path.exists(os.path.join(sysconfig.get_config_vars()['LIBDIR'], \
-@@ -148,7 +148,7 @@
- boost_thread = "boost_thread-mt"
-
- librariestype = [boost_filesystem, boost_date_time,
-- boost_thread, 'z', 'pthread', 'ssl', 'crypto']
-+ boost_thread, 'z', 'ssl', 'crypto']
-
- if os == "linux":
- librariestype += ['rt']
-@@ -205,8 +205,10 @@
- sources.remove('libtorrent/src/file_win.cpp')
- deluge_core = Extension('deluge_core',
- include_dirs = includedirs,
-+ library_dirs = ['%%LOCALBASE%%/lib'],
- libraries = librariestype,
- extra_compile_args = EXTRA_COMPILE_ARGS,
-+ extra_link_args = ['%%PTHREAD_LIBS%%'],
- sources = sources)
- else:
- sources.remove('libtorrent\\src\\file.cpp')