aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2019-09-19 00:46:10 +0000
committerJan Beich <jbeich@FreeBSD.org>2019-09-19 00:46:10 +0000
commitbaba89b62dbe561d3de3cb32a31dcea4cdea098d (patch)
tree002bda528ed7e11b8356df0c1488e657bf80eb12 /multimedia
parentbd113f2b3dc54ae1f85052ce9d0ee905cfb97123 (diff)
downloadports-baba89b62dbe561d3de3cb32a31dcea4cdea098d.tar.gz
ports-baba89b62dbe561d3de3cb32a31dcea4cdea098d.zip
Notes
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/svt-av1/Makefile4
-rw-r--r--multimedia/svt-av1/distinfo6
-rw-r--r--multimedia/svt-av1/files/patch-Source_Lib_Codec_EbThreads.h13
3 files changed, 12 insertions, 11 deletions
diff --git a/multimedia/svt-av1/Makefile b/multimedia/svt-av1/Makefile
index 68dee63deab7..b83cd3326d01 100644
--- a/multimedia/svt-av1/Makefile
+++ b/multimedia/svt-av1/Makefile
@@ -2,8 +2,8 @@
PORTNAME= svt-av1
DISTVERSIONPREFIX= v
-DISTVERSION= 0.6.0-346
-DISTVERSIONSUFFIX= -g4f180cce
+DISTVERSION= 0.6.0-358
+DISTVERSIONSUFFIX= -g48c155aa
CATEGORIES= multimedia
MAINTAINER= jbeich@FreeBSD.org
diff --git a/multimedia/svt-av1/distinfo b/multimedia/svt-av1/distinfo
index 9b6540371ed9..3cb3b3b93ae0 100644
--- a/multimedia/svt-av1/distinfo
+++ b/multimedia/svt-av1/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1568415415
-SHA256 (OpenVisualCloud-SVT-AV1-v0.6.0-346-g4f180cce_GH0.tar.gz) = 68e5e1ad8eb36a8c59a81be5f47371ba3dd6a2b7f6fcd425e171ce57bfdef45c
-SIZE (OpenVisualCloud-SVT-AV1-v0.6.0-346-g4f180cce_GH0.tar.gz) = 2841990
+TIMESTAMP = 1568842406
+SHA256 (OpenVisualCloud-SVT-AV1-v0.6.0-358-g48c155aa_GH0.tar.gz) = 97e0c00e6150ea8e5e007540cc8d14ad010101082871f996116a52ab95d3e0e0
+SIZE (OpenVisualCloud-SVT-AV1-v0.6.0-358-g48c155aa_GH0.tar.gz) = 2857686
diff --git a/multimedia/svt-av1/files/patch-Source_Lib_Codec_EbThreads.h b/multimedia/svt-av1/files/patch-Source_Lib_Codec_EbThreads.h
index 65a23e7b17c7..1d83a24bee49 100644
--- a/multimedia/svt-av1/files/patch-Source_Lib_Codec_EbThreads.h
+++ b/multimedia/svt-av1/files/patch-Source_Lib_Codec_EbThreads.h
@@ -5,12 +5,12 @@ Source/Lib/Codec/EbThreads.h:100:11: error: unknown type name 'cpu_set_t'
extern cpu_set_t groupAffinity;
^
---- Source/Lib/Common/Codec/EbThreads.h.orig 2019-02-14 00:36:54 UTC
+--- Source/Lib/Common/Codec/EbThreads.h.orig 2019-09-18 21:33:26 UTC
+++ Source/Lib/Common/Codec/EbThreads.h
-@@ -95,7 +95,14 @@ extern EB_BOOL alternateGroups;
- #else
- #define __USE_GNU
+@@ -99,8 +99,15 @@ extern "C" {
+ #ifndef _GNU_SOURCE
#define _GNU_SOURCE
+ #endif
+#ifdef __FreeBSD__
+#define cpu_set_t cpuset_t
+#else
@@ -20,5 +20,6 @@ extern cpu_set_t groupAffinity;
+#if defined(__DragonFly__) || defined(__FreeBSD__)
+#include <pthread_np.h>
+#endif
- extern cpu_set_t groupAffinity;
- #define EB_CREATETHREAD(type, pointer, nElements, pointerClass, threadFunction, threadContext) \
+ extern cpu_set_t group_affinity;
+ #define EB_CREATE_THREAD(pointer, thread_function, thread_context) \
+ do { \