0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-23 13:46:16 +00:00
termux-packages/x11-packages/thunderbird/0015-skia-termux.patch
2024-09-17 12:26:11 +08:00

23 lines
737 B
Diff

--- a/gfx/skia/skia/src/ports/SkDebug_android.cpp
+++ b/gfx/skia/skia/src/ports/SkDebug_android.cpp
@@ -8,7 +8,7 @@
#include "include/private/base/SkDebug.h"
#include "include/private/base/SkFeatures.h"
-#if defined(SK_BUILD_FOR_ANDROID)
+#if defined(SK_BUILD_FOR_ANDROID) && !defined(__TERMUX__)
#include <stdio.h>
--- a/gfx/skia/skia/src/ports/SkDebug_stdio.cpp
+++ b/gfx/skia/skia/src/ports/SkDebug_stdio.cpp
@@ -9,7 +9,7 @@
#include "include/private/base/SkFeatures.h"
#include "include/private/base/SkLoadUserConfig.h"
-#if !defined(SK_BUILD_FOR_WIN) && !defined(SK_BUILD_FOR_ANDROID)
+#if (!defined(SK_BUILD_FOR_WIN) && !defined(SK_BUILD_FOR_ANDROID)) || defined(__TERMUX__)
#include <stdarg.h>
#include <stdio.h>