c-ares: Update from 1.13.0 to 1.14.0
[termux-packages] / packages / c-ares / fix-path-etc-hosts.patch
CommitLineData
59cc2072
LP
1diff -uNr c-ares-1.13.0/ares_private.h c-ares-1.13.0.mod/ares_private.h
2--- c-ares-1.13.0/ares_private.h 2017-06-16 15:53:03.000000000 +0300
3+++ c-ares-1.13.0.mod/ares_private.h 2017-09-12 11:24:17.332992105 +0300
4@@ -84,7 +84,7 @@
5 #ifdef ETC_INET
6 #define PATH_HOSTS "/etc/inet/hosts"
7 #else
8-#define PATH_HOSTS "/etc/hosts"
9+#define PATH_HOSTS "@TERMUX_PREFIX@/etc/hosts"
10 #endif
11
12 #endif