]> git.pld-linux.org Git - packages/vapoursynth.git/blob - vapoursynth-genericarch.patch
- release 3 (by relup.sh)
[packages/vapoursynth.git] / vapoursynth-genericarch.patch
1 --- vapoursynth-R38/src/core/cpufeatures.c.orig 2017-05-29 13:09:06.000000000 +0200
2 +++ vapoursynth-R38/src/core/cpufeatures.c      2017-07-21 21:43:00.895082739 +0200
3 @@ -61,6 +61,7 @@ void getCPUFeatures(CPUFeatures *cpuFeat
4      }
5  }
6  #elif defined(VS_TARGET_OS_LINUX)
7 +#if defined(VS_TARGET_CPU_ARM) || defined(VS_TARGET_CPU_POWERPC)
8  #include <sys/auxv.h>
9  
10  void getCPUFeatures(CPUFeatures *cpuFeatures) {
11 @@ -89,5 +90,11 @@ void getCPUFeatures(CPUFeatures *cpuFeat
12  #endif
13  }
14  #else
15 +void getCPUFeatures(CPUFeatures *cpuFeatures) {
16 +    memset(cpuFeatures, 0, sizeof(CPUFeatures));
17 +    cpuFeatures->can_run_vs = 1;
18 +}
19 +#endif
20 +#else
21  #error Do not know how to get CPU features.
22  #endif
23 --- vapoursynth-R38/src/core/cpufeatures.h.orig 2017-05-29 13:09:06.000000000 +0200
24 +++ vapoursynth-R38/src/core/cpufeatures.h      2017-07-21 21:41:25.271750498 +0200
25 @@ -51,8 +51,6 @@ typedef struct CPUFeatures {
26      char efp_double;
27      char dfp;
28      char vsx;
29 -#else
30 -#error No VS_TARGET_CPU_* defined/handled!
31  #endif
32  } CPUFeatures;
33  
This page took 0.030154 seconds and 3 git commands to generate.