svn commit: r452092 - in branches/2017Q4/multimedia/vapoursynth: . files

Jan Beich jbeich at FreeBSD.org
Sat Oct 14 22:31:13 UTC 2017


Author: jbeich
Date: Sat Oct 14 22:31:12 2017
New Revision: 452092
URL: https://svnweb.freebsd.org/changeset/ports/452092

Log:
  MFH: r452091
  
  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?
  
  Approved by:	ports-secteam blanket

Modified:
  branches/2017Q4/multimedia/vapoursynth/Makefile
  branches/2017Q4/multimedia/vapoursynth/files/patch-non-x86
Directory Properties:
  branches/2017Q4/   (props changed)

Modified: branches/2017Q4/multimedia/vapoursynth/Makefile
==============================================================================
--- branches/2017Q4/multimedia/vapoursynth/Makefile	Sat Oct 14 22:13:21 2017	(r452091)
+++ branches/2017Q4/multimedia/vapoursynth/Makefile	Sat Oct 14 22:31:12 2017	(r452092)
@@ -3,6 +3,7 @@
 PORTNAME=	vapoursynth
 PORTVERSION=	R38
 PORTREVISION=	2
+PORTREVISION=	1
 CATEGORIES=	multimedia
 
 MAINTAINER=	jbeich at FreeBSD.org

Modified: branches/2017Q4/multimedia/vapoursynth/files/patch-non-x86
==============================================================================
--- branches/2017Q4/multimedia/vapoursynth/files/patch-non-x86	Sat Oct 14 22:13:21 2017	(r452091)
+++ branches/2017Q4/multimedia/vapoursynth/files/patch-non-x86	Sat Oct 14 22:31:12 2017	(r452092)
@@ -9,13 +9,15 @@
  #include <sys/auxv.h>
  
  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


More information about the svn-ports-branches mailing list