Files
termux-packages/packages/gitoxide/hickory-resolver.diff
termux-pacman-bot dbb775cf93 bump(main/gitoxide): 0.50.0
- Fixes https://github.com/termux/termux-packages/issues/28126

- New patches:
  - `hickory-resolver.diff`: replaces `trust-dns-resolver.diff`
  - `aws-lc-sys.diff`: fixes `error: call to undeclared function 'getentropy'`
2026-02-03 11:47:36 +00:00

12 lines
372 B
Diff

--- a/src/system_conf/unix.rs
+++ b/src/system_conf/unix.rs
@@ -29,7 +29,7 @@ use crate::proto::xfer::Protocol;
const DEFAULT_PORT: u16 = 53;
pub fn read_system_conf() -> Result<(ResolverConfig, ResolverOpts), ResolveError> {
- read_resolv_conf("/etc/resolv.conf")
+ read_resolv_conf("@TERMUX_PREFIX@/etc/resolv.conf")
}
fn read_resolv_conf<P: AsRef<Path>>(