phantomjs: add gcc>=5 patch from Gentoo
This commit is contained in:
parent
97b8a57059
commit
c9cdba7c19
14
srcpkgs/phantomjs/patches/gcc5-compile-fix.patch
Normal file
14
srcpkgs/phantomjs/patches/gcc5-compile-fix.patch
Normal 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();
|
@ -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}|" \
|
||||
|
Loading…
Reference in New Issue
Block a user