Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Oct 2017 22:13:22 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r452091 - in head/multimedia/vapoursynth: . files
Message-ID:  <201710142213.v9EMDMOS039587@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Sat Oct 14 22:13:21 2017
New Revision: 452091
URL: https://svnweb.freebsd.org/changeset/ports/452091

Log:
  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?

Modified:
  head/multimedia/vapoursynth/Makefile   (contents, props changed)
  head/multimedia/vapoursynth/files/patch-non-x86   (contents, props changed)

Modified: head/multimedia/vapoursynth/Makefile
==============================================================================
--- head/multimedia/vapoursynth/Makefile	Sat Oct 14 21:03:58 2017	(r452090)
+++ head/multimedia/vapoursynth/Makefile	Sat Oct 14 22:13:21 2017	(r452091)
@@ -2,6 +2,7 @@
 
 PORTNAME=	vapoursynth
 PORTVERSION=	R39
+PORTREVISION=	1
 CATEGORIES=	multimedia
 
 MAINTAINER=	jbeich@FreeBSD.org

Modified: head/multimedia/vapoursynth/files/patch-non-x86
==============================================================================
--- head/multimedia/vapoursynth/files/patch-non-x86	Sat Oct 14 21:03:58 2017	(r452090)
+++ head/multimedia/vapoursynth/files/patch-non-x86	Sat Oct 14 22:13:21 2017	(r452091)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201710142213.v9EMDMOS039587>