aboutsummaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2015-03-26 14:54:20 +0000
committerJohn Marino <marino@FreeBSD.org>2015-03-26 14:54:20 +0000
commit7d0971ec286210dddb3c28e5f8d4aa13541bf429 (patch)
treebd831798573ddbc6ea90484a14d02ae9bbfd280e /net-p2p
parent030a0aaf307cbf92ee5def908eea2bc8c8094493 (diff)
Notes
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/libtorrent-rasterbar/files/patch-src_lazy__bdecode.cpp12
-rw-r--r--net-p2p/libtorrent-rasterbar/files/patch-src_utp__stream.cpp11
2 files changed, 23 insertions, 0 deletions
diff --git a/net-p2p/libtorrent-rasterbar/files/patch-src_lazy__bdecode.cpp b/net-p2p/libtorrent-rasterbar/files/patch-src_lazy__bdecode.cpp
new file mode 100644
index 000000000000..23c60c6deabe
--- /dev/null
+++ b/net-p2p/libtorrent-rasterbar/files/patch-src_lazy__bdecode.cpp
@@ -0,0 +1,12 @@
+--- src/lazy_bdecode.cpp.orig 2014-04-04 02:51:48.000000000 +0000
++++ src/lazy_bdecode.cpp
+@@ -30,6 +30,9 @@ POSSIBILITY OF SUCH DAMAGE.
+
+ */
+
++#define __STDC_LIMIT_MACROS
++#include <stdint.h>
++
+ #include "libtorrent/config.hpp"
+ #include "libtorrent/lazy_entry.hpp"
+ #include "libtorrent/escape_string.hpp"
diff --git a/net-p2p/libtorrent-rasterbar/files/patch-src_utp__stream.cpp b/net-p2p/libtorrent-rasterbar/files/patch-src_utp__stream.cpp
new file mode 100644
index 000000000000..0823147f0528
--- /dev/null
+++ b/net-p2p/libtorrent-rasterbar/files/patch-src_utp__stream.cpp
@@ -0,0 +1,11 @@
+--- src/utp_stream.cpp.orig 2013-09-20 12:07:06.000000000 +0000
++++ src/utp_stream.cpp
+@@ -30,6 +30,8 @@ POSSIBILITY OF SUCH DAMAGE.
+
+ */
+
++#define __STDC_LIMIT_MACROS
++#include <stdint.h>
+ #include "libtorrent/config.hpp"
+ #include "libtorrent/utp_stream.hpp"
+ #include "libtorrent/sliding_average.hpp"