termux-packages/packages/glib/gio-gnetworking.h.in.patch

12 lines
309 B
Diff
Raw Normal View History

2021-12-11 11:24:41 +01:00
--- ./gio/gnetworking.h.in.orig 2021-12-10 19:44:29.271717902 +0530
+++ ./gio/gnetworking.h.in 2021-12-10 19:45:00.881717890 +0530
@@ -51,7 +51,7 @@
#endif
#ifndef _PATH_RESCONF
-#define _PATH_RESCONF "/etc/resolv.conf"
+#define _PATH_RESCONF "@TERMUX_PREFIX@/etc/resolv.conf"
#endif
#ifndef CMSG_LEN