Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Mar 2021 01:08:15 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r568534 - head/textproc/htmldoc/files
Message-ID:  <202103160108.12G18FZn017478@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103160108.12G18FZn017478>