svn commit: r568534 - head/textproc/htmldoc/files
Piotr Kubaj
pkubaj at FreeBSD.org
Tue Mar 16 01:08:16 UTC 2021
Author: pkubaj
Date: Tue Mar 16 01:08:15 2021
New Revision: 568534
URL: https://svnweb.freebsd.org/changeset/ports/568534
Log:
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
Added:
head/textproc/htmldoc/files/patch-png_pngpriv.h (contents, props changed)
Added: head/textproc/htmldoc/files/patch-png_pngpriv.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/htmldoc/files/patch-png_pngpriv.h Tue Mar 16 01:08:15 2021 (r568534)
@@ -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
More information about the svn-ports-head
mailing list