FS#49294 - [krfb] needs patch for GCC 6
Attached to Project:
Arch Linux
Opened by Kevin Mihelich (kmihelich) - Wednesday, 11 May 2016, 00:18 GMT
Last edited by Antonio Rojas (arojas) - Wednesday, 11 May 2016, 07:07 GMT
Opened by Kevin Mihelich (kmihelich) - Wednesday, 11 May 2016, 00:18 GMT
Last edited by Antonio Rojas (arojas) - Wednesday, 11 May 2016, 07:07 GMT
|
Details
Description: This package needs a patch for GCC 6. From
Fedora:
http://pkgs.fedoraproject.org/cgit/rpms/krfb.git/tree/krfb-15.12.2-max-gcc6.patch Additional info: * package version: 16.04.1-1 * Snippet of one failure: In file included from /usr/include/c++/6.1.1/algorithm:61:0, from /usr/include/qt/QtCore/qglobal.h:85, from /usr/include/qt/QtCore/qnamespace.h:37, from /usr/include/qt/QtCore/qobjectdefs.h:41, from /usr/include/qt/QtCore/qobject.h:40, from /usr/include/qt/QtCore/QObject:1, from /build/krfb/src/build/krfb/../../krfb-16.04.1/krfb/framebuffer.h:17, from /build/krfb/src/build/krfb/moc_framebuffer.cpp:9, from /build/krfb/src/build/krfb/krfbprivate_automoc.cpp:2: /usr/include/c++/6.1.1/bits/stl_algobase.h:265:56: error: macro "max" passed 3 arguments, but takes just 2 max(const _Tp& __a, const _Tp& __b, _Compare __comp) ^ Steps to reproduce: Build using the current toolchain in the repo (AKA, an up to date chroot). |
This task depends upon
http://pkgs.fedoraproject.org/cgit/rpms/kopete.git/tree/kopete-15.12.2-gcc6.patch
In file included from /build/kdenetwork-kopete/src/kopete-16.04.1/plugins/history2/history2logger.cpp:19:0:
/build/kdenetwork-kopete/src/kopete-16.04.1/plugins/history2/history2logger.h:97:81: error: could not convert ‘false’ from ‘bool’ to ‘const Kopete::MetaContact*’
int offset=0, const Kopete::MetaContact *c=false, bool reverseOrder=true);
^~~~~