MFH: r555188
converters/wkhtmltopdf: fix build on arm64/aarch64 PR: 250952 Submitted by: rasmus@gal.dk Reviewed by: linimon Approved by: portmgr (fix blanket)
This commit is contained in:
parent
82543bde99
commit
7260fd4b23
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/branches/2020Q4/; revision=555189
@ -11,7 +11,6 @@ COMMENT= Convert HTML (or live webpages) to PDF or image
|
||||
LICENSE= LGPL3
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BROKEN_aarch64= fails to build: error: cast from pointer to smaller type loses information
|
||||
BROKEN_armv6= fails to build: error: Not supported ARM architecture
|
||||
BROKEN_armv7= fails to build: error: invalid operand for instruction
|
||||
BROKEN_mips64= fails to link: undefined reference to __sync_add_and_fetch_4
|
||||
|
@ -0,0 +1,12 @@
|
||||
--- src/3rdparty/webkit/Source/JavaScriptCore/wtf/Platform.h.orig 2020-11-08 17:05:56.503694000 +0100
|
||||
+++ src/3rdparty/webkit/Source/JavaScriptCore/wtf/Platform.h 2020-11-08 17:06:42.105176000 +0100
|
||||
@@ -1003,7 +1003,8 @@
|
||||
|| CPU(SPARC64) \
|
||||
|| CPU(S390X) \
|
||||
|| CPU(PPC64) \
|
||||
- || CPU(MIPS64)
|
||||
+ || CPU(MIPS64) \
|
||||
+ || defined(__aarch64__)
|
||||
#define WTF_USE_JSVALUE64 1
|
||||
#else
|
||||
#define WTF_USE_JSVALUE32_64 1
|
Loading…
Reference in New Issue
Block a user