summaryrefslogtreecommitdiff
path: root/graphics/png/files/patch-configure
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2021-01-30 11:54:43 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2021-01-30 11:54:43 +0000
commitbaa42c91f3f88489f300b804b7f6b28801b0d94e (patch)
tree44aebb5c69f25fa81b04493472f0d6aa78c6ea04 /graphics/png/files/patch-configure
parentscience/py-phonopy: Update 2.9.0 -> 2.9.1 (diff)
graphics/png: add SIMD option
It's enabled by default on aarch64, amd64 and powerpc64le, which should have optimizations that are enabled in their baselines (NEON, SSE2 and VSX respectively). PR: 251173 Approved by: antoine@ (maintainer)
Diffstat (limited to 'graphics/png/files/patch-configure')
-rw-r--r--graphics/png/files/patch-configure11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/png/files/patch-configure b/graphics/png/files/patch-configure
new file mode 100644
index 000000000000..0bf0bec66031
--- /dev/null
+++ b/graphics/png/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig 2021-01-21 14:33:24 UTC
++++ configure
+@@ -13533,7 +13533,7 @@ $as_echo "#define PNG_ARM_NEON_OPT 0" >>confdefs.h
+ $as_echo "#define PNG_MIPS_MSA_OPT 0" >>confdefs.h
+
+ ;;
+- i?86|x86_64)
++ i?86|x86_64|amd64)
+ enable_intel_sse=yes
+
+ $as_echo "#define PNG_INTEL_SSE_OPT 1" >>confdefs.h