Files
termux-packages/x11-packages/wxwidgets/src-common-msgout.cpp.patch
termux-pacman-bot 079219075e bump(x11/wxwidgets): 3.3.1
- Switch to CMake

Co-authored-by: Twaik Yont <9674930+twaik@users.noreply.github.com>
2025-12-06 01:33:25 +00:00

21 lines
767 B
Diff

--- a/src/common/msgout.cpp
+++ b/src/common/msgout.cpp
@@ -148,7 +148,7 @@ void wxMessageOutputStderr::Output(const wxString& str)
{
const wxCharBuffer& buf = PrepareForOutput(str);
-#if defined(__ANDROID__)
+#if 0
__android_log_write(ANDROID_LOG_INFO, "wxWidgets", buf.data());
#else
fwrite(buf, buf.length(), 1, m_fp);
@@ -171,7 +171,7 @@ void wxMessageOutputDebug::Output(const wxString& str)
// If we have a console under Windows, send this there too (if not, this
// won't do anything, so it's safe to call it unconditionally).
wxMessageOutputStderr::Output(str);
-#elif defined(__ANDROID__)
+#elif 0
const wxCharBuffer& buf = PrepareForOutput(str);
__android_log_write(ANDROID_LOG_DEBUG, "wxWidgets", buf.data());