Opened 9 years ago

Last modified 9 years ago

#46773 closed update

Update: libktorrent 1.3.1 — at Version 1

Reported by: Schamschula (Marius Schamschula) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc:
Port: libktorrent

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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.

Change History (2)

Changed 9 years ago by Schamschula (Marius Schamschula)

Attachment: Portfile-libktorrent.diff added

comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

I'm not wild about patching boost files to deal with this problem, since it's really 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?

Note: See TracTickets for help on using tickets.