summaryrefslogtreecommitdiff
path: root/textproc/htmldoc
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2021-03-16 01:08:15 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2021-03-16 01:08:15 +0000
commit35860cdfd4e2357bb6f5f813993b0f3450aa70cb (patch)
treecf2aca09f502d4d9524367ba3bbf04dfde27297b /textproc/htmldoc
parentnet/charm: enable on powerpc64le (diff)
textproc/htmldoc: fix build on powerpc64 with CPUTYPE=power7 and higher and on powerpc64le
Disable VSX, VSX code is not present in the bundled png: ld: error: undefined symbol: png_init_filter_functions_vsx
Diffstat (limited to 'textproc/htmldoc')
-rw-r--r--textproc/htmldoc/files/patch-png_pngpriv.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/textproc/htmldoc/files/patch-png_pngpriv.h b/textproc/htmldoc/files/patch-png_pngpriv.h
new file mode 100644
index 000000000000..8c770f7c90fb
--- /dev/null
+++ b/textproc/htmldoc/files/patch-png_pngpriv.h
@@ -0,0 +1,14 @@
+--- png/pngpriv.h.orig 2021-03-16 01:04:47 UTC
++++ png/pngpriv.h
+@@ -193,11 +193,7 @@
+ #endif
+
+ #ifndef PNG_POWERPC_VSX_OPT
+-# if defined(__PPC64__) && defined(__ALTIVEC__) && defined(__VSX__)
+-# define PNG_POWERPC_VSX_OPT 2
+-# else
+ # define PNG_POWERPC_VSX_OPT 0
+-# endif
+ #endif
+
+ #ifndef PNG_INTEL_SSE_OPT