diff options
author | mezz <mezz@FreeBSD.org> | 2007-08-07 09:27:09 +0800 |
---|---|---|
committer | mezz <mezz@FreeBSD.org> | 2007-08-07 09:27:09 +0800 |
commit | a3ebb6ea783091e6ab04ae4f4f66e6a07736e348 (patch) | |
tree | 345a670ec85b7ff7054722ca2378542c78156187 /net-p2p/deluge05 | |
parent | 92381e06136440092e737836d628d18b99f003ae (diff) | |
download | freebsd-ports-gnome-a3ebb6ea783091e6ab04ae4f4f66e6a07736e348.tar.gz freebsd-ports-gnome-a3ebb6ea783091e6ab04ae4f4f66e6a07736e348.tar.zst freebsd-ports-gnome-a3ebb6ea783091e6ab04ae4f4f66e6a07736e348.zip |
No longer need to enable compact allocation by default. The
libtorrent/src/storage.cpp doesn't know about how to check filesystem on
FreeBSD yet, so instead always use sparse file without check on which
filesystems that have sparse file support. Both UFS and UFS2 have sparse file
support. Bump the PORTREVISION.
Diffstat (limited to 'net-p2p/deluge05')
-rw-r--r-- | net-p2p/deluge05/Makefile | 1 | ||||
-rw-r--r-- | net-p2p/deluge05/files/patch-libtorrent_src_storage.cpp | 23 | ||||
-rw-r--r-- | net-p2p/deluge05/files/patch-src_pref.py | 11 |
3 files changed, 24 insertions, 11 deletions
diff --git a/net-p2p/deluge05/Makefile b/net-p2p/deluge05/Makefile index 862ec667ea86..01b605fd3420 100644 --- a/net-p2p/deluge05/Makefile +++ b/net-p2p/deluge05/Makefile @@ -7,6 +7,7 @@ PORTNAME= deluge PORTVERSION= 0.5.4 +PORTREVISION= 1 CATEGORIES= net-p2p python MASTER_SITES= http://download.deluge-torrent.org/tarball/${PORTVERSION}/ diff --git a/net-p2p/deluge05/files/patch-libtorrent_src_storage.cpp b/net-p2p/deluge05/files/patch-libtorrent_src_storage.cpp new file mode 100644 index 000000000000..04d0678a9a88 --- /dev/null +++ b/net-p2p/deluge05/files/patch-libtorrent_src_storage.cpp @@ -0,0 +1,23 @@ +--- libtorrent/src/storage.cpp.orig 2007-08-06 17:01:24.000000000 -0500 ++++ libtorrent/src/storage.cpp 2007-08-06 17:05:26.000000000 -0500 +@@ -981,7 +981,7 @@ + return true; + #endif + +-#if defined(__APPLE__) || defined(__linux__) ++#if defined(__APPLE__) || defined(__linux__) || defined(__FreeBSD__) + // find the last existing directory of the save path + fs::path query_path = p; + while (!query_path.empty() && !exists(query_path)) +@@ -1058,7 +1058,11 @@ + #endif + + // TODO: POSIX implementation ++#if defined(__FreeBSD__) ++ return true; ++#else + return false; ++#endif + } + + // -- piece_manager ----------------------------------------------------- diff --git a/net-p2p/deluge05/files/patch-src_pref.py b/net-p2p/deluge05/files/patch-src_pref.py deleted file mode 100644 index a84ed36a3ae9..000000000000 --- a/net-p2p/deluge05/files/patch-src_pref.py +++ /dev/null @@ -1,11 +0,0 @@ ---- src/pref.py.orig 2007-08-05 18:25:21.000000000 -0500 -+++ src/pref.py 2007-08-05 18:25:36.000000000 -0500 -@@ -108,7 +108,7 @@ - "tray_downloadspeedlist" : [5.0, 10.0, 30.0, 80.0, 300.0], - "tray_passwd" : "", - "tray_uploadspeedlist" : [5.0, 10.0, 30.0, 80.0, 300.0], -- "use_compact_storage" : False, -+ "use_compact_storage" : True, - "use_default_dir" : False, - "use_natpmp" : False, - "use_upnp" : False, |