[MacPorts] #57751: qt4-mac: lots of errors trying to build with clang-7.0 (presumably related to defaulting to c++17 mode)
MacPorts
noreply at macports.org
Sat Jul 6 03:50:08 UTC 2019
#57751: qt4-mac: lots of errors trying to build with clang-7.0 (presumably related
to defaulting to c++17 mode)
----------------------+-----------------------
Reporter: kencu | Owner: michaelld
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: qt4-mac |
----------------------+-----------------------
Comment (by devernay):
I got it to compile and run with clang-8.0 (on OSX 10.6)
Here's what I did:
- applied kencu's patch
- applied the patches from http://openbsd-archive.7691.n7.nabble.com/lang-
gcc-8-can-t-build-x11-qt4-td359804.html except the following (already in
kencu's):
- patch-src_3rdparty_javascriptcore_JavaScriptCore_runtime_Structure_cpp
- patch-src_3rdparty_javascriptcore_JavaScriptCore_runtime_Structure_h
- made a few more patches:
- patch-
src_3rdparty_webkit_Source_JavaScriptCore_runtime_StringPrototype_cpp
- patch-src_3rdparty_webkit_Source_JavaScriptCore_runtime_JSONObject_cpp
- patch-src_3rdparty_webkit_Source_JavaScriptCore_runtime_Identifier_cpp
- patch-
src_3rdparty_webkit_Source_JavaScriptCore_bytecompiler_BytecodeGenerator.cpp
- patch-
src_3rdparty_webkit_Source_JavaScriptCore_wtf_text_AtomicString_cpp
- patch-
src_3rdparty_webkit_Source_WebCore_dom_DocumentMarkerController_cpp
- moved src/3rdparty/javascriptcore/VERSION to
src/3rdparty/javascriptcore/VERSION.txt (because
src/3rdparty/javascriptcore is in the include path, and someone does
#include <version> - remember that the filesystem is not case sensitive)
I'm attaching all the patches to this ticket.
I think it would be better to *not* build qtwebkit, have a separate port
with the more recent qtwebkit from
https://download.kde.org/stable/qtwebkit-2.3/2.3.4/src/qtwebkit-2.3.4.tar.gz
- see https://github.com/cartr/homebrew-qt4/blob/master/qt-webkit%402.3.rb
--
Ticket URL: <https://trac.macports.org/ticket/57751#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list