mirror of
https://git.freebsd.org/ports.git
synced 2025-06-16 02:00:30 -04:00
The bundled png is set up for VSX autodetection, but no actual VSX-related code is included.
14 lines
343 B
C
14 lines
343 B
C
--- Source/LibPNG/pngpriv.h.orig 2021-03-16 00:44:46 UTC
|
|
+++ Source/LibPNG/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
|