Summary: | devel/qt5-script: disable usage of c++1z for JavaScriptCore | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Dimitry Andric <dim> | ||||||||
Component: | Individual Port(s) | Assignee: | freebsd-kde (group) <kde> | ||||||||
Status: | Closed FIXED | ||||||||||
Severity: | Affects Some People | CC: | tcberner | ||||||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(kde) |
||||||||
Version: | Latest | ||||||||||
Hardware: | Any | ||||||||||
OS: | Any | ||||||||||
Bug Depends on: | |||||||||||
Bug Blocks: | 219139 | ||||||||||
Attachments: |
|
Description
Dimitry Andric
![]() ![]() Created attachment 183686 [details]
Use unique_ptr instead of auto_ptr
annulen suggested in #qt to try to use unique_ptr -- could you give the attached patch a go?
mfg Tobias
Created attachment 183690 [details]
Fall back to not using c++1z
As JSC has no active upstream, the unique_ptr patch did not make any sense, unfortunately. So instead set CONFIG-=c++1z as you originally suggested.
A commit references this bug: Author: dim Date: Wed Jun 21 21:25:25 UTC 2017 New revision: 444079 URL: https://svnweb.freebsd.org/changeset/ports/444079 Log: Disable usage of c++1z (c++17) for qt5-script, as the third-party JavaScriptCore code is not fully compatible with it. This is a requirement for using libc++ 5.0.0, which is more strict. Approved by: tcberner (maintainer) PR: 220188 MFH: 2017Q2 Changes: head/devel/qt5-script/files/patch-cr198221 The alternative patch works fine too, thanks. A commit references this bug: Author: dim Date: Thu Jun 22 17:19:08 UTC 2017 New revision: 444122 URL: https://svnweb.freebsd.org/changeset/ports/444122 Log: MFH: r444079 Disable usage of c++1z (c++17) for qt5-script, as the third-party JavaScriptCore code is not fully compatible with it. This is a requirement for using libc++ 5.0.0, which is more strict. Approved by: portmgr (feld) PR: 220188 Changes: _U branches/2017Q2/ branches/2017Q2/devel/qt5-script/files/patch-cr198221 |