#46773: Update: libktorrent 1.3.1 -----------------------------+-------------------------------- Reporter: mschamschula@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: haspatch Port: libktorrent | -----------------------------+-------------------------------- Old description:
libktorrent has been updated to version 1.3.1. Notes:
1) homepage and master_sites have been updated.
2) There is a build issue with the current version of boost (1.57.0) which affects libktorrent builds (old and new versions): I had to manually edit /opt/local/include/boost/type_traits/detail/has_binary_operator.hpp according to to an answer found in
http://stackoverflow.com/questions/15455178/qt4-cgal-parse-error-at- boost-join
i.e. add #ifndef Q_MOC_RUN to the top and #endif to the bottom of the header file.
New description: libktorrent has been updated to version 1.3.1. Notes: 1. `homepage` and `master_sites` have been updated. 2. There is a build issue with the current version of boost (1.57.0) which affects libktorrent builds (old and new versions): I had to manually edit /opt/local/include/boost/type_traits/detail/has_binary_operator.hpp according to to an answer found in http://stackoverflow.com/questions/15455178/qt4-cgal-parse-error-at- boost-join i.e. add `#ifndef Q_MOC_RUN` to the top and #endif to the bottom of the header file. -- Comment (by ryandesign@…): I'm not wild about patching boost files to deal with this problem, since it's really [https://bugreports.qt.io/browse/QTBUG-22829 a Qt bug, fixed in Qt 5]. Unfortunately, the ticket does not say what commit(s) fixed the problem. Possibly the moc compiler got substantial changes in Qt 5 which happened to fix this, and back-porting it to Qt 4 would be unfeasible. Could libktorrent use qt5-mac instead of qt4-mac? -- Ticket URL: <https://trac.macports.org/ticket/46773#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X