summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-p2p/libtorrent-rasterbar/Makefile1
-rw-r--r--net-p2p/libtorrent-rasterbar/files/patch-bindings_python_compile__flags.in5
2 files changed, 6 insertions, 0 deletions
diff --git a/net-p2p/libtorrent-rasterbar/Makefile b/net-p2p/libtorrent-rasterbar/Makefile
index 663894dbde5c..9155a6a47fe1 100644
--- a/net-p2p/libtorrent-rasterbar/Makefile
+++ b/net-p2p/libtorrent-rasterbar/Makefile
@@ -3,6 +3,7 @@
PORTNAME= libtorrent-rasterbar
PORTVERSION= 1.1.1
+PORTREVISION= 1
CATEGORIES?= net-p2p ipv6
MASTER_SITES= https://github.com/arvidn/libtorrent/releases/download/libtorrent-${PORTVERSION:S/./_/g}/
diff --git a/net-p2p/libtorrent-rasterbar/files/patch-bindings_python_compile__flags.in b/net-p2p/libtorrent-rasterbar/files/patch-bindings_python_compile__flags.in
new file mode 100644
index 000000000000..ce17900b0f14
--- /dev/null
+++ b/net-p2p/libtorrent-rasterbar/files/patch-bindings_python_compile__flags.in
@@ -0,0 +1,5 @@
+--- bindings/python/compile_flags.in.orig 2016-05-24 02:57:40 UTC
++++ bindings/python/compile_flags.in
+@@ -1 +1 @@
+--I@top_srcdir@/include @COMPILETIME_OPTIONS@ @CPPFLAGS@ @BOOST_CPPFLAGS@ @OPENSSL_INCLUDES@
++-I@top_srcdir@/include @COMPILETIME_OPTIONS@ @CPPFLAGS@ -std=c++11 @BOOST_CPPFLAGS@ @OPENSSL_INCLUDES@