multimedia/vapoursynth: update to R49

Changes:	http://www.vapoursynth.com/2020/03/r49-just-another-release/
Changes:	https://github.com/vapoursynth/vapoursynth/compare/R48...R49
Reported by:	GitHub (watch releases)
This commit is contained in:
Jan Beich 2020-03-26 20:46:50 +00:00
parent 1625f8868f
commit 31f887a4e1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=529217
3 changed files with 5 additions and 47 deletions

View file

@ -1,12 +1,9 @@
# $FreeBSD$
PORTNAME= vapoursynth
DISTVERSION= R48
DISTVERSION= R49
CATEGORIES= multimedia
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES+= a9b657d8b014.patch:-p1 4d4f8cbf272c.patch:-p1
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Video processing framework with simplicity in mind
@ -54,7 +51,7 @@ SIMD_CONFIGURE_ENABLE= x86-asm
# COMPS group
CORE_DESC= Core library
CORE_BUILD_DEPENDS= sekrit-twc-zimg>=2.9.1:graphics/sekrit-twc-zimg
CORE_BUILD_DEPENDS= sekrit-twc-zimg>=2.9.3:graphics/sekrit-twc-zimg
CORE_LIB_DEPENDS= libzimg.so:graphics/sekrit-twc-zimg
CORE_USES= compiler:c++11-lib
CORE_CONFIGURE_ENABLE= core

View file

@ -1,7 +1,3 @@
TIMESTAMP = 1571984167
SHA256 (vapoursynth-vapoursynth-R48_GH0.tar.gz) = 3e98d134e16af894cf7040e4383e4ef753cafede34d5d77c42a2bb89790c50a8
SIZE (vapoursynth-vapoursynth-R48_GH0.tar.gz) = 611523
SHA256 (a9b657d8b014.patch) = 95e5f2ec7b3c2d4c252721ee986f4c91fe7ab12a35c3de6ce13dede6543cb9c1
SIZE (a9b657d8b014.patch) = 2712
SHA256 (4d4f8cbf272c.patch) = b217e1d5d0278b65a1169d386a34d7882db05652585723194496de081281381e
SIZE (4d4f8cbf272c.patch) = 654
TIMESTAMP = 1584473787
SHA256 (vapoursynth-vapoursynth-R49_GH0.tar.gz) = 126d1e68d3a3e80d1e215c8a2a5dc8773f5fcac70a6c22dadc837bccb603bccd
SIZE (vapoursynth-vapoursynth-R49_GH0.tar.gz) = 612156

View file

@ -1,35 +0,0 @@
--- src/core/cpufeatures.cpp.orig 2019-10-25 06:16:07 UTC
+++ src/core/cpufeatures.cpp
@@ -102,7 +102,7 @@ static void doGetCPUFeatures(CPUFeatures *cpuFeatures)
}
}
}
-#elif defined(VS_TARGET_OS_LINUX)
+#elif defined(VS_TARGET_OS_LINUX) && defined(__linux__)
#include <sys/auxv.h>
static void doGetCPUFeatures(CPUFeatures *cpuFeatures) {
@@ -131,7 +131,11 @@ static void doGetCPUFeatures(CPUFeatures *cpuFeatures)
#endif
}
#else
-#warning "Do not know how to get CPU features."
+static void doGetCPUFeatures(CPUFeatures *cpuFeatures) {
+ memset(cpuFeatures, 0, sizeof(CPUFeatures));
+
+ cpuFeatures->can_run_vs = 1;
+}
#endif
const CPUFeatures *getCPUFeatures(void) {
--- src/core/cpufeatures.h.orig 2019-10-25 06:16:07 UTC
+++ src/core/cpufeatures.h
@@ -63,8 +63,6 @@ typedef struct CPUFeatures {
char efp_double;
char dfp;
char vsx;
-#else
-#warning "No VS_TARGET_CPU_* defined/handled!"
#endif
} CPUFeatures;