summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2017-06-22 17:19:08 +0000
committerdim <dim@FreeBSD.org>2017-06-22 17:19:08 +0000
commit4b238006190888cd926c75eeb501af556fe7e746 (patch)
treeb88209e5478d66d54687d1bb2a04838841db41a2
parent31bc6968068284bb9af76c254105472735f98fc9 (diff)
downloadFreeBSD-ports-4b238006190888cd926c75eeb501af556fe7e746.zip
FreeBSD-ports-4b238006190888cd926c75eeb501af556fe7e746.tar.gz
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
-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 0000000..12cf4c27
--- /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
OpenPOWER on IntegriCloud