mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-02-11 04:10:52 +00:00
- 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'`
12 lines
372 B
Diff
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>>(
|