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)
Mon, Feb 3, 9:19 PM
Unknown Object (File)
Mon, Feb 3, 9:12 PM
Unknown Object (File)
Jan 4 2025, 4:18 AM
Unknown Object (File)
Jan 4 2025, 4:10 AM
Unknown Object (File)
Dec 24 2024, 3:25 PM
Unknown Object (File)
Nov 19 2024, 5:26 PM
Unknown Object (File)
Sep 24 2024, 11:51 PM
Unknown Object (File)
Sep 24 2024, 11:50 PM
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.