aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authoravilla <avilla@FreeBSD.org>2011-06-30 06:42:40 +0800
committeravilla <avilla@FreeBSD.org>2011-06-30 06:42:40 +0800
commitb33987b44b8c2985d2c1ffc22c5a1215a0f1eb97 (patch)
treecc2abd79d058e62e8aee8f95f5aba57803ae5c4a /devel
parentce647a1803143f86e575dd9898e2b75fa224bf97 (diff)
downloadfreebsd-ports-gnome-b33987b44b8c2985d2c1ffc22c5a1215a0f1eb97.tar.gz
freebsd-ports-gnome-b33987b44b8c2985d2c1ffc22c5a1215a0f1eb97.tar.zst
freebsd-ports-gnome-b33987b44b8c2985d2c1ffc22c5a1215a0f1eb97.zip
- Fix build with Clang.
Diffstat (limited to 'devel')
-rw-r--r--devel/qt4-script/files/patch-src__3rdparty__javascriptcore__JavaScriptCore__interpreter__Interpreter.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/qt4-script/files/patch-src__3rdparty__javascriptcore__JavaScriptCore__interpreter__Interpreter.cpp b/devel/qt4-script/files/patch-src__3rdparty__javascriptcore__JavaScriptCore__interpreter__Interpreter.cpp
new file mode 100644
index 000000000000..d16cbce9b412
--- /dev/null
+++ b/devel/qt4-script/files/patch-src__3rdparty__javascriptcore__JavaScriptCore__interpreter__Interpreter.cpp
@@ -0,0 +1,13 @@
+--- ./src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp.orig 2011-06-30 00:17:41.495446920 +0200
++++ ./src/3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp 2011-06-30 00:19:46.885439368 +0200
+@@ -2493,8 +2493,10 @@
+ vPC += OPCODE_LENGTH(op_get_by_pname);
+ NEXT_INSTRUCTION();
+ }
++ {
+ Identifier propertyName(callFrame, subscript.toString(callFrame));
+ result = baseValue.get(callFrame, propertyName);
++ }
+ CHECK_FOR_EXCEPTION();
+ callFrame->r(dst) = result;
+ vPC += OPCODE_LENGTH(op_get_by_pname);