From 02872f015de2212107eced04ef7399e29bcd99e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Fri, 21 Jun 2019 06:26:48 +0200 Subject: [PATCH] vapoursynth: fix build w/ zimg-2.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jürgen Buchmüller --- srcpkgs/vapoursynth/patches/zimg-cpu-x86.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 srcpkgs/vapoursynth/patches/zimg-cpu-x86.patch diff --git a/srcpkgs/vapoursynth/patches/zimg-cpu-x86.patch b/srcpkgs/vapoursynth/patches/zimg-cpu-x86.patch new file mode 100644 index 00000000000..9027981a059 --- /dev/null +++ b/srcpkgs/vapoursynth/patches/zimg-cpu-x86.patch @@ -0,0 +1,15 @@ +--- src/core/vsresize.cpp 2018-10-26 23:11:05.000000000 +0200 ++++ src/core/vsresize.cpp 2019-06-21 06:18:30.310902300 +0200 +@@ -85,7 +85,12 @@ + { "f16c", ZIMG_CPU_X86_F16C }, + { "avx2", ZIMG_CPU_X86_AVX2 }, + { "avx512f", ZIMG_CPU_X86_AVX512F }, ++#ifdef ZIMG_CPU_X86_AVX512_SKL + { "avx512skl", ZIMG_CPU_X86_AVX512_SKL }, ++#endif ++#ifdef ZIMG_CPU_X86_AVX512_SKX ++ { "avx512skx", ZIMG_CPU_X86_AVX512_SKX }, ++#endif + #endif + }; +