1
0
forked from ports/contrib

libtorrent-rasterbar: 0.16.0 -> 0.16.1

This commit is contained in:
Danny Rawlins 2012-06-25 23:54:47 +10:00
parent 526768593f
commit 6b82b5d6f7
4 changed files with 5 additions and 20 deletions

View File

@ -1,5 +1,4 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/include/libtorrent/
-rw-r--r-- root/root usr/include/libtorrent/ConvertUTF.h
@ -118,6 +117,7 @@ drwxr-xr-x root/root usr/include/libtorrent/kademlia/
-rw-r--r-- root/root usr/include/libtorrent/stat.hpp
-rw-r--r-- root/root usr/include/libtorrent/storage.hpp
-rw-r--r-- root/root usr/include/libtorrent/storage_defs.hpp
-rw-r--r-- root/root usr/include/libtorrent/struct_debug.hpp
-rw-r--r-- root/root usr/include/libtorrent/thread.hpp
-rw-r--r-- root/root usr/include/libtorrent/time.hpp
-rw-r--r-- root/root usr/include/libtorrent/timestamp_history.hpp

View File

@ -1,2 +1 @@
0448407e23f53a182311236a96b9a83b libtorrent-rasterbar-0.16.0.tar.gz
6c7a40854a92a8a0558faa914a5111ba libtorrent.patch
63dd7834d615deae2df55ebfebdddb8b libtorrent-rasterbar-0.16.1.tar.gz

View File

@ -5,16 +5,13 @@
# Depends on: boost
name=libtorrent-rasterbar
version=0.16.0
release=2
source=(http://libtorrent.googlecode.com/files/$name-$version.tar.gz
libtorrent.patch)
version=0.16.1
release=1
source=(http://libtorrent.googlecode.com/files/$name-$version.tar.gz)
build() {
cd $name-$version
patch -p 0 -i $SRC/libtorrent.patch
./configure \
--prefix=/usr \
--enable-python-binding

View File

@ -1,11 +0,0 @@
--- bindings/python/src/session.cpp (revision 6789)
+++ bindings/python/src/session.cpp (working copy)
@@ -153,7 +153,7 @@
, std::vector<char>& rd, std::list<std::string>& string_storage)
{
// torrent_info objects are always held by an intrusive_ptr in the python binding
- if (params.has_key("ti"))
+ if (params.has_key("ti") && !params.get("ti").is_none())
p.ti = extract<intrusive_ptr<torrent_info> >(params["ti"]);
if (params.has_key("info_hash"))