aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-06-22 17:19:08 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-06-22 17:19:08 +0000
commitfcf171f14851e75b65dfa5fdeb38b4f5ed2400e3 (patch)
treeb88209e5478d66d54687d1bb2a04838841db41a2
parent0745c3486a37790ee82f9c3b3f029519d58cd296 (diff)
downloadports-fcf171f14851e75b65dfa5fdeb38b4f5ed2400e3.tar.gz
ports-fcf171f14851e75b65dfa5fdeb38b4f5ed2400e3.zip
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
Notes
Notes: svn path=/branches/2017Q2/; revision=444122
-rw-r--r--devel/qt5-script/files/patch-cr19822121
1 files changed, 21 insertions, 0 deletions
diff --git a/devel/qt5-script/files/patch-cr198221 b/devel/qt5-script/files/patch-cr198221
new file mode 100644
index 000000000000..12cf4c27b69b
--- /dev/null
+++ b/devel/qt5-script/files/patch-cr198221
@@ -0,0 +1,21 @@
+From e6c7e47d85399dbedf86491ed3b7f582ddf7c740 Mon Sep 17 00:00:00 2001
+From: "Tobias C. Berner" <tcberner@FreeBSD.org>
+Date: Wed, 21 Jun 2017 21:38:23 +0200
+Subject: [PATCH] cat c.tDisable c++1z as it breaks compilation with libc++5.
+
+Change-Id: I7efa59433cd06ee8ff43d231e6ff1d4712fe65aa
+---
+ src/script/script.pro | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/script/script.pro b/src/script/script.pro
+index e9f15e2..27fa434 100644
+--- src/script/script.pro
++++ src/script/script.pro
+@@ -58,3 +58,4 @@ integrity {
+ TR_EXCLUDE = $$WEBKITDIR/*
+
+ load(qt_module)
++CONFIG -= c++1z
+--
+2.13.1