Page MenuHomeFreeBSD

Work around a gcc bug in devel/qt5-qdoc to fix devel/qtcreator on 9.3
ClosedPublic

Authored by tcberner on Oct 2 2016, 10:33 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 12 2024, 3:21 AM
Unknown Object (File)
Mar 12 2024, 3:21 AM
Unknown Object (File)
Mar 12 2024, 3:21 AM
Unknown Object (File)
Mar 12 2024, 3:09 AM
Unknown Object (File)
Jan 7 2024, 10:07 AM
Unknown Object (File)
Jan 2 2024, 7:06 PM
Unknown Object (File)
Dec 10 2023, 10:46 PM
Unknown Object (File)
Nov 19 2023, 12:44 AM
Subscribers

Details

Summary

Instead of using std::sort() use qSort() on FreeBSD 9.3.
This should fix the pkg-fallout of devel/qtcreator.

[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59391
[2] https://bugreports.qt.io/browse/QTBUG-43057

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

tcberner retitled this revision from to Work around a gcc bug in devel/qt5-qdoc to fix devel/qtcreator on 9.3.
tcberner updated this object.
tcberner edited the test plan for this revision. (Show Details)
tcberner added reviewers: rakuco, mat.
tcberner added a subscriber: adridg.

I don't think the PORTREVISION bump is necessary: if the port had already been built successfully, then there's no need to rebuild it; if the port was failing to build before, then it will build correctly for the first time now.

devel/qt5-qdoc built fine without any issues. But it can segfault when running. So I it needs to be rebuilt on 9.3 machines to be working. That's why I think the bump is necessary.

rakuco edited edge metadata.

Duh, sorry. I didn't pay enough attention and was thinking this patch was for devel/qtcreator itself. Shipit!

This revision is now accepted and ready to land.Oct 2 2016, 2:01 PM
This revision was automatically updated to reflect the committed changes.