From e6ea6764d8598f5bdce6793a91ca35de0d07da57 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Sat, 14 Oct 2017 22:13:21 +0000 Subject: [PATCH] multimedia/vapoursynth: unbreak runtime on non-x86 vapoursynth.Error: Failed to obtain VapourSynth API pointer. System does not support SSE2 or is the Python module and loaded core library mismatched? --- multimedia/vapoursynth/Makefile | 1 + multimedia/vapoursynth/files/patch-non-x86 | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/multimedia/vapoursynth/Makefile b/multimedia/vapoursynth/Makefile index ee3e2e20f1d9..8a80123ed7ad 100644 --- a/multimedia/vapoursynth/Makefile +++ b/multimedia/vapoursynth/Makefile @@ -2,6 +2,7 @@ PORTNAME= vapoursynth PORTVERSION= R39 +PORTREVISION= 1 CATEGORIES= multimedia MAINTAINER= jbeich@FreeBSD.org diff --git a/multimedia/vapoursynth/files/patch-non-x86 b/multimedia/vapoursynth/files/patch-non-x86 index f584c4496260..ca9f3aa570c9 100644 --- a/multimedia/vapoursynth/files/patch-non-x86 +++ b/multimedia/vapoursynth/files/patch-non-x86 @@ -9,13 +9,15 @@ #include void getCPUFeatures(CPUFeatures *cpuFeatures) { -@@ -89,5 +89,7 @@ void getCPUFeatures(CPUFeatures *cpuFeat +@@ -98,5 +98,9 @@ void getCPUFeatures(CPUFeatures *cpuFeatures) { #endif } #else -#error Do not know how to get CPU features. +void getCPUFeatures(CPUFeatures *cpuFeatures) { + memset(cpuFeatures, 0, sizeof(CPUFeatures)); ++ ++ cpuFeatures->can_run_vs = 1; +} #endif --- src/core/cpufeatures.h.orig 2016-02-02 16:12:42 UTC