void-packages/srcpkgs/qt-webkit/files/fix-gcc6.patch
Jürgen Buchmüller 38bad67383 New package: qt-webkit-2.3.4
The idea to have a separate qt-webkit package which builds with gcc6
is taken from the Arch Linux team's efforts:
https://git.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/qtwebkit

This addresses #4748 the unsolvable(?) problems when trying to build the
shipped qtwebkit that comes with qt-4.7.8 with gcc6.
2016-09-19 05:57:22 +02:00

14 lines
879 B
Diff

--- webkit-qtwebkit-23/Source/JavaScriptCore/runtime/JSObject.cpp.gcc5 2014-09-24 06:42:05.000000000 -0500
+++ webkit-qtwebkit-23/Source/JavaScriptCore/runtime/JSObject.cpp 2015-03-20 08:15:53.192778375 -0500
@@ -1922,6 +1922,10 @@ void JSObject::putByIndexBeyondVectorLen
}
}
+template void JSObject::putByIndexBeyondVectorLengthWithoutAttributes<ContiguousShape>(ExecState* exec, unsigned i, JSValue value);
+template void JSObject::putByIndexBeyondVectorLengthWithoutAttributes<DoubleShape>(ExecState* exec, unsigned i, JSValue value);
+template void JSObject::putByIndexBeyondVectorLengthWithoutAttributes<Int32Shape>(ExecState* exec, unsigned i, JSValue value);
+
void JSObject::putByIndexBeyondVectorLengthWithArrayStorage(ExecState* exec, unsigned i, JSValue value, bool shouldThrow, ArrayStorage* storage)
{
JSGlobalData& globalData = exec->globalData();