mirror of
https://github.com/termux/termux-packages.git
synced 2024-11-23 13:46:16 +00:00
34 lines
1.2 KiB
Diff
34 lines
1.2 KiB
Diff
--- a/gfx/cairo/libpixman/src/pixman-arm.c
|
|
+++ b/gfx/cairo/libpixman/src/pixman-arm.c
|
|
@@ -96,7 +96,7 @@
|
|
|
|
#elif defined(__ANDROID__) || defined(ANDROID) /* Android */
|
|
|
|
-#include <cpu-features.h>
|
|
+#include <ndk_compat/cpu-features.h>
|
|
|
|
static arm_cpu_features_t
|
|
detect_cpu_features (void)
|
|
--- a/media/libvpx/libvpx/vpx_ports/arm_cpudetect.h
|
|
+++ b/media/libvpx/libvpx/vpx_ports/arm_cpudetect.h
|
|
@@ -34,7 +34,7 @@
|
|
// Use getauxval() when targeting (64-bit) Android with API level >= 18.
|
|
// getauxval() is supported since Android API level 18 (Android 4.3.)
|
|
// First Android version with 64-bit support was Android 5.x (API level 21).
|
|
-#include <cpu-features.h>
|
|
+#include <ndk_compat/cpu-features.h>
|
|
#endif
|
|
|
|
static INLINE int arm_cpu_env_flags(int *flags) {
|
|
--- a/third_party/aom/aom_ports/arm_cpudetect.h
|
|
+++ b/third_party/aom/aom_ports/arm_cpudetect.h
|
|
@@ -36,7 +36,7 @@
|
|
// Use getauxval() when targeting (64-bit) Android with API level >= 18.
|
|
// getauxval() is supported since Android API level 18 (Android 4.3.)
|
|
// First Android version with 64-bit support was Android 5.x (API level 21).
|
|
-#include <cpu-features.h>
|
|
+#include <ndk_compat/cpu-features.h>
|
|
#endif
|
|
|
|
static bool arm_cpu_env_flags(int *flags) {
|