0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-07-23 05:01:44 +00:00
Files
termux-packages/x11-packages/thunderbird/0024-disable-native-https-dns-resolve.patch
Robert Kirkman 0c687b97ed bump(x11/thunderbird): 137.0.1
- Fixes #24070

- makes the `mozconfig.cfg`, `build.sh` and patches of `thunderbird` very similar to `firefox`, except for places where `thunderbird` is different

- `disable-systray-x86_64.patch`: fixes the build of `thunderbird` 136.0.1 for x86_64 Termux specifically. has been tested at runtime on a bare metal 64-bit Android-x86 device, and behaves as expected (uniform behavior with other architectures of Termux `thunderbird` 136.0.1)

- `toolbar-based-custom-compose-window-width-for-ralfwerner.patch`: hardcoded custom dimensions of the edit window formatting toolbar to provide a workaround for edit window minimum text wrapping width high-dpi-scaling low-resolution situations in HTML mode while preserving the formatting toolbar functionality

- `icu-22132.patch`: fixes a bug in `libicu` that has been happening for a long time, which causes these features of `thunderbird` to begin functioning:
  - Search Bar
  - Address Book
  - Customize Toolbars
  - Calendar
  - Tasks
  - Chat
  - Settings Button
  - Hamburger Button
2025-04-05 11:14:51 -05:00

35 lines
1.2 KiB
Diff

It uses `android_res_nquery`, but this function only got added in API level 29
--- a/netwerk/dns/nsHostResolver.cpp
+++ b/netwerk/dns/nsHostResolver.cpp
@@ -210,6 +210,8 @@
// native HTTPS records on Win 11 for now.
sNativeHTTPSSupported = StaticPrefs::network_dns_native_https_query_win10() ||
mozilla::IsWin11OrLater();
+#elif defined(__TERMUX__)
+ sNativeHTTPSSupported = false;
#elif defined(MOZ_WIDGET_ANDROID)
// android_res_nquery only got added in API level 29
sNativeHTTPSSupported = jni::GetAPIVersion() >= 29;
--- a/netwerk/dns/moz.build
+++ b/netwerk/dns/moz.build
@@ -53,17 +53,7 @@
"nsEffectiveTLDService.cpp", # Excluded from UNIFIED_SOURCES due to special build flags.
]
-if CONFIG["MOZ_WIDGET_TOOLKIT"] == "windows":
- SOURCES += ["PlatformDNSWin.cpp"]
-elif CONFIG["OS_TARGET"] == "Linux":
- SOURCES += ["PlatformDNSUnix.cpp"]
- OS_LIBS += ["resolv"]
-elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "cocoa":
- SOURCES += ["PlatformDNSMac.cpp"]
-elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "android":
- SOURCES += ["PlatformDNSAndroid.cpp"]
-else:
- DEFINES["MOZ_NO_HTTPS_IMPL"] = 1
+DEFINES["MOZ_NO_HTTPS_IMPL"] = 1
UNIFIED_SOURCES += [
"ChildDNSService.cpp",