phantomjs: add gcc>=5 patch from Gentoo

This commit is contained in:
Alessio Sergi 2017-03-25 20:00:26 +01:00
parent 97b8a57059
commit c9cdba7c19
2 changed files with 14 additions and 1 deletions

View file

@ -0,0 +1,14 @@
--- src/qt/qtwebkit/Source/JavaScriptCore/runtime/JSObject.cpp.orig 2015-01-24 08:19:52.000000000 +0600
+++ src/qt/qtwebkit/Source/JavaScriptCore/runtime/JSObject.cpp 2015-09-24 18:18:45.598322592 +0600
@@ -1909,6 +1909,11 @@
}
}
+// Used in JSArray.cpp so we must instantiate explicit
+template void JSObject::putByIndexBeyondVectorLengthWithoutAttributes<Int32Shape>(ExecState* exec, unsigned i, JSValue value);
+template void JSObject::putByIndexBeyondVectorLengthWithoutAttributes<DoubleShape>(ExecState* exec, unsigned i, JSValue value);
+template void JSObject::putByIndexBeyondVectorLengthWithoutAttributes<ContiguousShape>(ExecState* exec, unsigned i, JSValue value);
+
void JSObject::putByIndexBeyondVectorLengthWithArrayStorage(ExecState* exec, unsigned i, JSValue value, bool shouldThrow, ArrayStorage* storage)
{
VM& vm = exec->vm();

View file

@ -15,7 +15,6 @@ checksum=cc81249eaa059cc138414390cade9cb6509b9d6fa0df16f4f43de70b174b3bfe
nopie=yes
nocross=yes
broken="https://build.voidlinux.eu/builders/x86_64-musl_builder/builds/1597/steps/shell_3/logs/stdio"
do_configure() {
sed -e "s|-O2|${CXXFLAGS}|" \