kodi-addon-inputstream-adaptive: define ppc macros to fix build
This commit is contained in:
parent
18a6a9bcf8
commit
d52f934ef4
1 changed files with 23 additions and 0 deletions
23
srcpkgs/kodi-addon-inputstream-adaptive/patches/ppc.patch
Normal file
23
srcpkgs/kodi-addon-inputstream-adaptive/patches/ppc.patch
Normal file
|
@ -0,0 +1,23 @@
|
|||
--- wvdecrypter/cdm/build/build_config.h
|
||||
+++ wvdecrypter/cdm/build/build_config.h
|
||||
@@ -123,6 +123,20 @@
|
||||
#define ARCH_CPU_ARM64 1
|
||||
#define ARCH_CPU_64_BITS 1
|
||||
#define ARCH_CPU_LITTLE_ENDIAN 1
|
||||
+#elif defined(__powerpc64__)
|
||||
+#define ARCH_CPU_PPC_FAMILY 1
|
||||
+#define ARCH_CPU_PPC64 1
|
||||
+#define ARCH_CPU_64_BITS 1
|
||||
+#ifdef __LITTLE_ENDIAN__
|
||||
+#define ARCH_CPU_LITTLE_ENDIAN 1
|
||||
+#else
|
||||
+#define ARCH_CPU_BIG_ENDIAN 1
|
||||
+#endif
|
||||
+#elif defined(__powerpc__)
|
||||
+#define ARCH_CPU_PPC_FAMILY 1
|
||||
+#define ARCH_CPU_PPC 1
|
||||
+#define ARCH_CPU_32_BITS 1
|
||||
+#define ARCH_CPU_BIG_ENDIAN 1
|
||||
#elif defined(__pnacl__)
|
||||
#define ARCH_CPU_32_BITS 1
|
||||
#define ARCH_CPU_LITTLE_ENDIAN 1
|
Loading…
Reference in a new issue