[MacPorts] #46773: Update: libktorrent 1.3.1
#46773: Update: libktorrent 1.3.1 ----------------------------+-------------------------------- Reporter: mschamschula@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: haspatch | Port: libktorrent ----------------------------+-------------------------------- 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. -- Ticket URL: <https://trac.macports.org/ticket/46773> MacPorts <https://www.macports.org/> Ports system for OS X
#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
#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 | -----------------------------+-------------------------------- Comment (by cal@…): I resolved a similar problem in gerbil by just putting the #include of the header defining BOOST_JOIN between `#ifdef Q_MOC_RUN` and `#endif`. It seems moc doesn't really care about the missing header. -- Ticket URL: <https://trac.macports.org/ticket/46773#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#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 | -----------------------------+-------------------------------- Comment (by cal@…): See http://tracker.gerbilvis.org/index.php?do=details&task_id=109 for more details on how I fixed this in gerbil. -- Ticket URL: <https://trac.macports.org/ticket/46773#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#46773: Update: libktorrent 1.3.1 -----------------------------+-------------------------------- Reporter: mschamschula@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: haspatch Port: libktorrent | -----------------------------+-------------------------------- Changes (by mk@…): * cc: nicos@… (added) * version: 2.3.3 => -- Ticket URL: <https://trac.macports.org/ticket/46773#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#46773: Update: libktorrent 1.3.1 -----------------------------+-------------------------------- Reporter: mschamschula@… | Owner: macports-tickets@… Type: update | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: haspatch Port: libktorrent | -----------------------------+-------------------------------- Changes (by nicos@…): * status: new => closed * resolution: => fixed Comment: Thank you for the input and the detailed report. Committed in r135517. -- Ticket URL: <https://trac.macports.org/ticket/46773#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts