qt5script: fix build issue with 32-bits armv8-a
authorGaël PORTAY <gael.portay@savoirfairelinux.com>
Mon, 11 Jun 2018 13:54:17 +0000 (09:54 -0400)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 17 Jun 2018 12:45:31 +0000 (14:45 +0200)
commit15706f86baf4e4f3ad7d0b9b5dadfb5710a9296b
tree88259ab80f3711df4d3f2f7d0d43d785ee63d169
parent9d2d810a6c3fb95d764a7ff4d2e7c9554fd8c1d3
qt5script: fix build issue with 32-bits armv8-a

Adds WTF platform support for the 32-bits armv8-a architectures.

Fixes:

In file included from ../3rdparty/javascriptcore/JavaScriptCore/config.h:26,
                from ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:44:
../3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h:370:6: error: #error "Not supported ARM architecture"
#    error "Not supported ARM architecture"
     ^~~~~

The patch is based on two upstream fixes in WebKit[1][2].

See also commit cea7aa873a.

[1]: https://github.com/WebKit/webkit/commit/313d9fc4bdd2f020a5d0cf834c3c61982f161ebb
[2]: https://github.com/WebKit/webkit/commit/98f0de0709786f5d9b09dfd5908266990eb909d6

Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/qt5/qt5script/0001-Detect-32-bits-armv8-a-architecture.patch [new file with mode: 0644]