diff options
author | Kurt Jaeger <pi@FreeBSD.org> | 2020-11-15 10:24:18 +0000 |
---|---|---|
committer | Kurt Jaeger <pi@FreeBSD.org> | 2020-11-15 10:24:18 +0000 |
commit | 7260fd4b23aaa01e6ec6639e19edac03e3bca457 (patch) | |
tree | c491d2ac157840ead225adc8d6167ba872091980 | |
parent | 82543bde998cd104dd88dad2fe0f77af6f4fe72c (diff) | |
download | ports-7260fd4b23aaa01e6ec6639e19edac03e3bca457.tar.gz ports-7260fd4b23aaa01e6ec6639e19edac03e3bca457.zip |
MFH: r555188
converters/wkhtmltopdf: fix build on arm64/aarch64
PR: 250952
Submitted by: rasmus@gal.dk
Reviewed by: linimon
Approved by: portmgr (fix blanket)
Notes
Notes:
svn path=/branches/2020Q4/; revision=555189
-rw-r--r-- | converters/wkhtmltopdf/Makefile | 1 | ||||
-rw-r--r-- | converters/wkhtmltopdf/files/patch-src__3rdparty__webkit__Source__JavaScriptCore__wtf__Platform.h | 12 |
2 files changed, 12 insertions, 1 deletions
diff --git a/converters/wkhtmltopdf/Makefile b/converters/wkhtmltopdf/Makefile index 0911f1f67a85..b488d1142310 100644 --- a/converters/wkhtmltopdf/Makefile +++ b/converters/wkhtmltopdf/Makefile @@ -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 diff --git a/converters/wkhtmltopdf/files/patch-src__3rdparty__webkit__Source__JavaScriptCore__wtf__Platform.h b/converters/wkhtmltopdf/files/patch-src__3rdparty__webkit__Source__JavaScriptCore__wtf__Platform.h new file mode 100644 index 000000000000..24ef0dd41ec6 --- /dev/null +++ b/converters/wkhtmltopdf/files/patch-src__3rdparty__webkit__Source__JavaScriptCore__wtf__Platform.h @@ -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 |