0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-27 06:18:57 +00:00
termux-packages/x11-packages/qt5-qtwebengine/0018-egl-fix-include.patch
2023-01-06 21:22:56 +00:00

24 lines
869 B
Diff

--- a/src/3rdparty/chromium/third_party/khronos/EGL/eglplatform.h
+++ b/src/3rdparty/chromium/third_party/khronos/EGL/eglplatform.h
@@ -88,7 +88,7 @@
typedef struct gbm_bo *EGLNativePixmapType;
typedef void *EGLNativeWindowType;
-#elif defined(__ANDROID__) || defined(ANDROID)
+#elif (defined(__ANDROID__) || defined(ANDROID)) && !defined(__TERMUX__)
struct ANativeWindow;
struct egl_native_pixmap_t;
--- a/src/3rdparty/chromium/third_party/angle/include/EGL/eglplatform.h
+++ b/src/3rdparty/chromium/third_party/angle/include/EGL/eglplatform.h
@@ -88,7 +88,7 @@
typedef struct gbm_bo *EGLNativePixmapType;
typedef void *EGLNativeWindowType;
-#elif defined(__ANDROID__) || defined(ANDROID)
+#elif (defined(__ANDROID__) || defined(ANDROID)) && !defined(__TERMUX__)
struct ANativeWindow;
struct egl_native_pixmap_t;