aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p
diff options
context:
space:
mode:
authorrm <rm@FreeBSD.org>2016-10-26 06:42:38 +0800
committerrm <rm@FreeBSD.org>2016-10-26 06:42:38 +0800
commit1b54d60f7a7a37447afad29fb397b31c19546c8d (patch)
tree71cc823e52b0bec3e41a5c580498c42c128fabd2 /net-p2p
parentf92bfd3a4e956a0d3039bbae224d6283c005257d (diff)
downloadfreebsd-ports-gnome-1b54d60f7a7a37447afad29fb397b31c19546c8d.tar.gz
freebsd-ports-gnome-1b54d60f7a7a37447afad29fb397b31c19546c8d.tar.zst
freebsd-ports-gnome-1b54d60f7a7a37447afad29fb397b31c19546c8d.zip
net-p2p/libtorrent-rasterbar: fix runtime of python binding
It was reported by many people that python binding fails to import after updating to 1.1.1, breaking net-p2p/deluge runtime at least. Bump PORTREVISION to initiate packages rebuild. Fix is based on this commit: https://github.com/voidlinux/void-packages/commit/e3a19958 PR: 213739 Reported by: many Approved by: portmgr (just-fix-it blanket)
Diffstat (limited to 'net-p2p')
-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@