Created attachment 150806 [details] Patch qt4-script fails on mips complaining on missing include: ../3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:339:21: error: sgidefs.h: No such file or directory (full log attached) That header seems to be linux-specific and it anyway just contains legacy defines not used by qt anyway, so removing the mentioned #include it fixes the build. Related upstream issue: https://bugreports.qt-project.org/browse/QTBUG-43486
Auto-assigned to maintainer kde@FreeBSD.org
Created attachment 150807 [details] Error log
Approved, thanks. Please include at least the lines saying the header was not found from the error log in your commit message. Bonus points if you also submit this upstream :-)
BTW, doesn't this also apply to devel/qt5-script?
A commit references this bug: Author: amdmi3 Date: Wed Dec 24 02:47:34 UTC 2014 New revision: 375385 URL: https://svnweb.freebsd.org/changeset/ports/375385 Log: - Fix build on MIPS by remiving non-existent, unused include Upstream issue: https://bugreports.qt-project.org/browse/QTBUG-43486 PR: 196157 Submitted by: amdmi3 Approved by: rakuco Changes: head/devel/qt4-script/files/patch-src__3rdparty__javascriptcore__JavaScriptCore__wtf__Platform.h
> Bonus points if you also submit this upstream :-) As mentioned in the PR, I've opened an issue in upstream tracker. > BTW, doesn't this also apply to devel/qt5-script? Unknown. qt5-qmake doesn't build on mips, so I can't test qt5-script yet.