[147874] trunk/dports/net/libtorrent-rasterbar
devans at macports.org
devans at macports.org
Tue Apr 19 13:29:54 PDT 2016
Revision: 147874
https://trac.macports.org/changeset/147874
Author: devans at macports.org
Date: 2016-04-19 13:29:53 -0700 (Tue, 19 Apr 2016)
Log Message:
-----------
libtorrent-rasterbar: apply upstream patch to fix python binding backwards compatibility with version 1.0 (#51176).
Modified Paths:
--------------
trunk/dports/net/libtorrent-rasterbar/Portfile
Added Paths:
-----------
trunk/dports/net/libtorrent-rasterbar/files/patch-bindings-python-src-session.cpp.diff
Modified: trunk/dports/net/libtorrent-rasterbar/Portfile
===================================================================
--- trunk/dports/net/libtorrent-rasterbar/Portfile 2016-04-19 20:18:18 UTC (rev 147873)
+++ trunk/dports/net/libtorrent-rasterbar/Portfile 2016-04-19 20:29:53 UTC (rev 147874)
@@ -10,6 +10,7 @@
github.setup arvidn libtorrent 1_1 libtorrent-
name libtorrent-rasterbar
version [string map {_ .} ${version}]
+revision 1
license BSD
categories net
maintainers devans openmaintainer
@@ -34,7 +35,8 @@
path:lib/libssl.dylib:openssl
patchfiles patch-configure.ac.diff \
- patch-bindings-python-setup.py.diff
+ patch-bindings-python-setup.py.diff \
+ patch-bindings-python-src-session.cpp.diff
post-patch {
reinplace "s|__MP_BUILD_ARCH__|${build_arch}|" ${worksrcpath}/bindings/python/setup.py
Added: trunk/dports/net/libtorrent-rasterbar/files/patch-bindings-python-src-session.cpp.diff
===================================================================
--- trunk/dports/net/libtorrent-rasterbar/files/patch-bindings-python-src-session.cpp.diff (rev 0)
+++ trunk/dports/net/libtorrent-rasterbar/files/patch-bindings-python-src-session.cpp.diff 2016-04-19 20:29:53 UTC (rev 147874)
@@ -0,0 +1,11 @@
+--- bindings/python/src/session.cpp.orig 2016-04-19 12:56:30.000000000 -0700
++++ bindings/python/src/session.cpp 2016-04-19 12:57:29.000000000 -0700
+@@ -810,7 +810,7 @@
+ #ifndef TORRENT_NO_DEPRECATE
+ .def("add_feed", &add_feed)
+ .def("status", allow_threads(<::session::status))
+- .def("settings", &session_get_settings)
++ .def("settings", <::session::settings)
+ .def("set_settings", &session_set_settings)
+ #endif
+ .def("get_settings", &session_get_settings)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160419/e4d4d4d1/attachment.html>
More information about the macports-changes
mailing list