From ef1e1f5020e0626b48e366ec4fd7ac3c52fe8845 Mon Sep 17 00:00:00 2001 From: Than Ngo Date: Wed, 18 Mar 2015 17:55:54 +0100 Subject: [PATCH] fix build failure with new gcc5 --- qt5-qtwebkit-gcc5-patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 qt5-qtwebkit-gcc5-patch diff --git a/qt5-qtwebkit-gcc5-patch b/qt5-qtwebkit-gcc5-patch new file mode 100644 index 0000000..e00accd --- /dev/null +++ b/qt5-qtwebkit-gcc5-patch @@ -0,0 +1,14 @@ +diff -up qtwebkit-opensource-src-5.4.0/Source/JavaScriptCore/runtime/JSObject.cpp.than qtwebkit-opensource-src-5.4.0/Source/JavaScriptCore/runtime/JSObject.cpp +--- qtwebkit-opensource-src-5.4.0/Source/JavaScriptCore/runtime/JSObject.cpp.than 2015-03-18 10:24:38.683352327 -0400 ++++ qtwebkit-opensource-src-5.4.0/Source/JavaScriptCore/runtime/JSObject.cpp 2015-03-18 10:25:21.953352327 -0400 +@@ -1909,6 +1909,10 @@ void JSObject::putByIndexBeyondVectorLen + } + } + ++template void JSObject::putByIndexBeyondVectorLengthWithoutAttributes(ExecState* exec, unsigned i, JSValue value); ++template void JSObject::putByIndexBeyondVectorLengthWithoutAttributes(ExecState* exec, unsigned i, JSValue value); ++template void JSObject::putByIndexBeyondVectorLengthWithoutAttributes(ExecState* exec, unsigned i, JSValue value); ++ + void JSObject::putByIndexBeyondVectorLengthWithArrayStorage(ExecState* exec, unsigned i, JSValue value, bool shouldThrow, ArrayStorage* storage) + { + VM& vm = exec->vm();