diff options
author | Kurt Jaeger <pi@FreeBSD.org> | 2020-11-15 10:23:01 +0000 |
---|---|---|
committer | Kurt Jaeger <pi@FreeBSD.org> | 2020-11-15 10:23:01 +0000 |
commit | 36cc6cffde4d5732fe60fb5ab8eb5893cab37999 (patch) | |
tree | d777da2b5c09dd320e91ceb8a092993b1971095d /converters/wkhtmltopdf | |
parent | f366582ad7f45bdaf6a4f5ed816e7de43ad76ccb (diff) | |
download | ports-36cc6cffde4d5732fe60fb5ab8eb5893cab37999.tar.gz ports-36cc6cffde4d5732fe60fb5ab8eb5893cab37999.zip |
converters/wkhtmltopdf: fix build on arm64/aarch64
PR: 250952
Submitted by: rasmus@gal.dk
Reviewed by: linimon
MFH: 2020Q4
Notes
Notes:
svn path=/head/; revision=555188
Diffstat (limited to 'converters/wkhtmltopdf')
-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 |