Created attachment 300389 [details, diff] patch to build with qt 4.8 Not much to say, a series of: /usr/include/qt4/QtCore/qglobal.h: In function ‘void qSwap(T&, T&) [with T = QByteArray::Data*]’: /usr/include/qt4/QtCore/qbytearray.h:164:59: instantiated from here /usr/include/qt4/QtCore/qglobal.h:2152:5: error: call of overloaded ‘swap(QByteArray::Data*&, QByteArray::Data*&)’ is ambiguous /usr/lib/gcc/i686-pc-linux-gnu/4.5.3/include/g++-v4/bits/move.h:106:5: note: candidates are: void std::swap(_Tp&, _Tp&) [with _Tp = QByteArray::Data*] qdjvuwidget.cpp:156:1: note: void swap(T&, T&) [with T = QByteArray::Data*] Attached patch seems to work.
have you reported it upstream? the maintainer is quite responsive there.
Patch works for me, thanks.
Created attachment 306369 [details] modified ebuild Modified ebuild. Create a djview folder and add this ebuild to your overlay. Put the patch in the "file" folder there then run 'ebuild djview-4.8.ebuild digest'. Then install. Enjoy!
I have opened an issue in the patch tracker upstream
Upstream says it's fixed now, see https://sourceforge.net/tracker/?func=detail&atid=406585&aid=3514075&group_id=32953 so waiting for release now
*** Bug 407635 has been marked as a duplicate of this bug. ***
Committed this upstream patch to Portage: http://djvu.git.sourceforge.net/git/gitweb.cgi?p=djvu/djview.git;a=commit;h=7d4802964b9e74506c63f43505b632f6e7b5db3c