Leonid Plyushch
7 years ago
committed by
Fredrik Fornwall
2 changed files with 13 additions and 0 deletions
@ -1,5 +1,6 @@ |
|||
TERMUX_PKG_HOMEPAGE=https://c-ares.haxx.se |
|||
TERMUX_PKG_DESCRIPTION="C library for asynchronous DNS requests (including name resolves)" |
|||
TERMUX_PKG_VERSION=1.13.0 |
|||
TERMUX_PKG_REVISION=1 |
|||
TERMUX_PKG_SRCURL=http://c-ares.haxx.se/download/c-ares-${TERMUX_PKG_VERSION}.tar.gz |
|||
TERMUX_PKG_SHA256=03f708f1b14a26ab26c38abd51137640cb444d3ec72380b21b20f1a8d2861da7 |
|||
|
@ -0,0 +1,12 @@ |
|||
diff -uNr c-ares-1.13.0/ares_private.h c-ares-1.13.0.mod/ares_private.h
|
|||
--- c-ares-1.13.0/ares_private.h 2017-06-16 15:53:03.000000000 +0300
|
|||
+++ c-ares-1.13.0.mod/ares_private.h 2017-09-12 11:24:17.332992105 +0300
|
|||
@@ -84,7 +84,7 @@
|
|||
#ifdef ETC_INET |
|||
#define PATH_HOSTS "/etc/inet/hosts" |
|||
#else |
|||
-#define PATH_HOSTS "/etc/hosts"
|
|||
+#define PATH_HOSTS "@TERMUX_PREFIX@/etc/hosts"
|
|||
#endif |
|||
|
|||
#endif |
Loading…
Reference in new issue