]> git.pld-linux.org Git - packages/vapoursynth.git/blame - vapoursynth-genericarch.patch
- updated to 48
[packages/vapoursynth.git] / vapoursynth-genericarch.patch
CommitLineData
3d87d4d2
MK
1diff -ur vapoursynth-R48.orig/src/core/cpufeatures.cpp vapoursynth-R48/src/core/cpufeatures.cpp
2--- vapoursynth-R48.orig/src/core/cpufeatures.cpp 2019-10-25 08:16:07.000000000 +0200
3+++ vapoursynth-R48/src/core/cpufeatures.cpp 2019-12-14 13:39:34.121000000 +0100
4@@ -103,6 +103,7 @@
4aa15439
JB
5 }
6 }
7 #elif defined(VS_TARGET_OS_LINUX)
8+#if defined(VS_TARGET_CPU_ARM) || defined(VS_TARGET_CPU_POWERPC)
9 #include <sys/auxv.h>
10
3d87d4d2
MK
11 static void doGetCPUFeatures(CPUFeatures *cpuFeatures) {
12@@ -131,6 +132,12 @@
4aa15439
JB
13 #endif
14 }
15 #else
16+void getCPUFeatures(CPUFeatures *cpuFeatures) {
17+ memset(cpuFeatures, 0, sizeof(CPUFeatures));
18+ cpuFeatures->can_run_vs = 1;
19+}
20+#endif
21+#else
49f229e1 22 #warning "Do not know how to get CPU features."
4aa15439 23 #endif
3d87d4d2
MK
24
25diff -ur vapoursynth-R48.orig/src/core/cpufeatures.h vapoursynth-R48/src/core/cpufeatures.h
26--- vapoursynth-R48.orig/src/core/cpufeatures.h 2019-10-25 08:16:07.000000000 +0200
27+++ vapoursynth-R48/src/core/cpufeatures.h 2019-12-14 13:40:09.419000000 +0100
28@@ -63,8 +63,6 @@
4aa15439
JB
29 char efp_double;
30 char dfp;
31 char vsx;
32-#else
49f229e1 33-#warning "No VS_TARGET_CPU_* defined/handled!"
4aa15439
JB
34 #endif
35 } CPUFeatures;
36
This page took 0.043347 seconds and 4 git commands to generate.