aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/libtorrent-rasterbar-14
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2009-05-23 22:23:59 +0800
committermiwi <miwi@FreeBSD.org>2009-05-23 22:23:59 +0800
commitc214a7804a153ac1d6878c2244aeed67326b2215 (patch)
tree125a0bf5007ea0c1367d4159be7b255ca7a7ae3b /net-p2p/libtorrent-rasterbar-14
parent9a81d62b6decc407dabed37236331f190fdd4797 (diff)
downloadfreebsd-ports-gnome-c214a7804a153ac1d6878c2244aeed67326b2215.tar.gz
freebsd-ports-gnome-c214a7804a153ac1d6878c2244aeed67326b2215.tar.zst
freebsd-ports-gnome-c214a7804a153ac1d6878c2244aeed67326b2215.zip
- Update to 1.3.3
PR: 134628 Submitted by: Ports Fury
Diffstat (limited to 'net-p2p/libtorrent-rasterbar-14')
-rw-r--r--net-p2p/libtorrent-rasterbar-14/Makefile6
-rw-r--r--net-p2p/libtorrent-rasterbar-14/distinfo6
-rw-r--r--net-p2p/libtorrent-rasterbar-14/files/patch-socket_ops.hpp11
-rw-r--r--net-p2p/libtorrent-rasterbar-14/files/patch-src__storage.cpp116
-rw-r--r--net-p2p/libtorrent-rasterbar-14/pkg-plist2
5 files changed, 109 insertions, 32 deletions
diff --git a/net-p2p/libtorrent-rasterbar-14/Makefile b/net-p2p/libtorrent-rasterbar-14/Makefile
index ef5b475f82aa..f2c3b3dfa8b5 100644
--- a/net-p2p/libtorrent-rasterbar-14/Makefile
+++ b/net-p2p/libtorrent-rasterbar-14/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= libtorrent
-PORTVERSION= 0.14.2
-PORTREVISION= 2
+PORTVERSION= 0.14.3
CATEGORIES= net-p2p
MASTER_SITES= SF
PKGNAMEPREFIX= rb
@@ -32,7 +31,8 @@ CONFIGURE_ARGS= --disable-debug \
--with-boost-thread=boost_thread \
--with-boost-regex=boost_regex \
--with-boost-program-options=boost_program_options \
- --with-asio=shipped
+ --with-asio=shipped \
+ --with-zlib=system
USE_LDCONFIG= yes
CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
diff --git a/net-p2p/libtorrent-rasterbar-14/distinfo b/net-p2p/libtorrent-rasterbar-14/distinfo
index 61f9ed8f7343..000bd46d47e4 100644
--- a/net-p2p/libtorrent-rasterbar-14/distinfo
+++ b/net-p2p/libtorrent-rasterbar-14/distinfo
@@ -1,3 +1,3 @@
-MD5 (libtorrent-rasterbar-0.14.2.tar.gz) = 97bb2db5ac21e9a81c96fc0e2abe6d29
-SHA256 (libtorrent-rasterbar-0.14.2.tar.gz) = bf43ea3fbedc2839f66357c3f0bea5f05f563cd9ffd9f7c3c6d81f33374a466e
-SIZE (libtorrent-rasterbar-0.14.2.tar.gz) = 1978048
+MD5 (libtorrent-rasterbar-0.14.3.tar.gz) = 6ce3148f8fbddbdfa472ef3c4c4cae61
+SHA256 (libtorrent-rasterbar-0.14.3.tar.gz) = c769c8b7f0cf87664fb26f9b43ef5d6e485a2c2c70fc75ef8a75c79e1114f4bb
+SIZE (libtorrent-rasterbar-0.14.3.tar.gz) = 1985127
diff --git a/net-p2p/libtorrent-rasterbar-14/files/patch-socket_ops.hpp b/net-p2p/libtorrent-rasterbar-14/files/patch-socket_ops.hpp
deleted file mode 100644
index 651e734b4067..000000000000
--- a/net-p2p/libtorrent-rasterbar-14/files/patch-socket_ops.hpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- include/libtorrent/asio/detail/socket_ops.hpp.orig Wed Aug 8 03:43:42 2007
-+++ include/libtorrent/asio/detail/socket_ops.hpp Mon Sep 10 12:46:17 2007
-@@ -715,7 +715,7 @@
- if (error)
- ec = translate_netdb_error(error);
- return retval;
--#elif defined(__MACH__) && defined(__APPLE__)
-+#elif defined(__MACH__) && defined(__APPLE__) || defined(__FreeBSD__)
- (void)(buffer);
- (void)(buflength);
- int error = 0;
diff --git a/net-p2p/libtorrent-rasterbar-14/files/patch-src__storage.cpp b/net-p2p/libtorrent-rasterbar-14/files/patch-src__storage.cpp
index 9b95f0595bf9..700b77976501 100644
--- a/net-p2p/libtorrent-rasterbar-14/files/patch-src__storage.cpp
+++ b/net-p2p/libtorrent-rasterbar-14/files/patch-src__storage.cpp
@@ -1,19 +1,75 @@
---- src/storage.cpp.orig 2009-02-08 17:13:04.000000000 +0900
-+++ src/storage.cpp 2009-04-19 05:32:24.000000000 +0900
-@@ -82,9 +82,11 @@
- #include <cstdio>
+--- src/storage.cpp.orig 2009-04-13 02:37:54.000000000 +0900
++++ src/storage.cpp 2009-04-29 15:56:16.000000000 +0900
+@@ -53,7 +53,7 @@
+ #include <boost/multi_index_container.hpp>
+ #include <boost/multi_index/member.hpp>
+ #include <boost/multi_index/ordered_index.hpp>
+-#if BOOST_VERSION >= 103500
++#if 0 // BOOST_VERSION >= 103500
+ #include <boost/system/system_error.hpp>
#endif
--#if defined(__APPLE__)
-+#if defined(__APPLE__) || defined(__FreeBSD__)
- // for getattrlist()
-+#ifdef __APPLE__
- #include <sys/attr.h>
-+#endif
- #include <unistd.h>
- // for statfs()
- #include <sys/param.h>
-@@ -496,7 +498,7 @@
+@@ -185,15 +185,15 @@
+ }
+ #ifndef BOOST_NO_EXCEPTIONS
+ }
+-#if BOOST_VERSION >= 103500
++#if 0 // BOOST_VERSION >= 103500
+ catch (boost::system::system_error& e)
+ {
+ ec = e.code();
+ }
+ #else
+- catch (boost::filesystem::filesystem_error& e)
++ catch (std::exception& e)
+ {
+- ec = error_code(e.system_error(), get_system_category());
++ ec = error_code(errno, get_posix_category());
+ }
+ #endif // BOOST_VERSION
+ #endif // BOOST_NO_EXCEPTIONS
+@@ -458,17 +458,17 @@
+ }
+ #ifndef BOOST_NO_EXCEPTIONS
+ }
+-#if BOOST_VERSION >= 103500
++#if 0 // BOOST_VERSION >= 103500
+ catch (boost::system::system_error& e)
+ {
+ set_error(m_save_path / file_iter->path, e.code());
+ return true;
+ }
+ #else
+- catch (boost::filesystem::filesystem_error& e)
++ catch (std::exception& e)
+ {
+ set_error(m_save_path / file_iter->path
+- , error_code(e.system_error(), get_system_category()));
++ , error_code(errno, get_posix_category()));
+ return true;
+ }
+ #endif // BOOST_VERSION
+@@ -501,16 +501,16 @@
+ #endif
+ #ifndef BOOST_NO_EXCEPTIONS
+ }
+-#if BOOST_VERSION >= 103500
++#if 0 // BOOST_VERSION >= 103500
+ catch (boost::system::system_error& e)
+ {
+ set_error(f, e.code());
+ return false;
+ }
+ #else
+- catch (boost::filesystem::filesystem_error& e)
++ catch (std::exception& e)
+ {
+- set_error(f, error_code(e.system_error(), get_system_category()));
++ set_error(f, error_code(errno, get_posix_category()));
+ return false;
+ }
+ #endif // BOOST_VERSION
+@@ -558,17 +558,17 @@
m_mapped_files->rename_file(index, new_filename);
#ifndef BOOST_NO_EXCEPTIONS
}
@@ -22,3 +78,35 @@
catch (boost::system::system_error& e)
{
set_error(old_name, e.code());
+ return true;
+ }
+ #else
+- catch (boost::filesystem::filesystem_error& e)
++ catch (std::exception& e)
+ {
+- set_error(old_name, error_code(e.system_error()
+- , get_system_category()));
++ set_error(old_name, error_code(errno
++ , get_posix_category()));
+ return true;
+ }
+ #endif // BOOST_VERSION
+@@ -591,15 +591,15 @@
+ #endif
+ { fs::remove(safe_convert(p)); }
+ #ifndef BOOST_NO_EXCEPTIONS
+-#if BOOST_VERSION >= 103500
++#if 0 // BOOST_VERSION >= 103500
+ catch (boost::system::system_error& e)
+ {
+ set_error(p, e.code());
+ }
+ #else
+- catch (boost::filesystem::filesystem_error& e)
++ catch (std::exception& e)
+ {
+- set_error(p, error_code(e.system_error(), get_system_category()));
++ set_error(p, errno, get_posix_category()));
+ }
+ #endif // BOOST_VERSION
+ #endif // BOOST_NO_EXCEPTIONS
diff --git a/net-p2p/libtorrent-rasterbar-14/pkg-plist b/net-p2p/libtorrent-rasterbar-14/pkg-plist
index 9e5579194c45..d565b967805a 100644
--- a/net-p2p/libtorrent-rasterbar-14/pkg-plist
+++ b/net-p2p/libtorrent-rasterbar-14/pkg-plist
@@ -290,7 +290,7 @@ include/libtorrent/xml_parse.hpp
lib/libtorrent-rasterbar.a
lib/libtorrent-rasterbar.la
lib/libtorrent-rasterbar.so
-lib/libtorrent-rasterbar.so.2
+lib/libtorrent-rasterbar.so.3
libdata/pkgconfig/libtorrent-rasterbar.pc
@dirrm include/libtorrent/kademlia
@dirrm include/libtorrent/extensions