c-ares: Bump to 1.19.0

This commit is contained in:
Tee KOBAYASHI 2023-01-29 09:53:32 +09:00 committed by xtkoba
parent 11ff2da6e2
commit f6de28ca9c
2 changed files with 6 additions and 7 deletions

View File

@ -2,10 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://c-ares.haxx.se
TERMUX_PKG_DESCRIPTION="Library for asynchronous DNS requests (including name resolves)"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=1.18.1
TERMUX_PKG_REVISION=1
TERMUX_PKG_VERSION=1.19.0
TERMUX_PKG_SRCURL=https://github.com/c-ares/c-ares/archive/cares-${TERMUX_PKG_VERSION//./_}.tar.gz
TERMUX_PKG_SHA256=414872549eec4e221b576693fdc9c9bce44ff794d0f1f06f2515b56a7f6ec9c9
TERMUX_PKG_SHA256=948016368481b6c5063b849b6dec2a7fd659eee2174b7f3db22ff1b22055ed2a
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_UPDATE_VERSION_REGEXP="\d+.\d+.\d+"
TERMUX_PKG_DEPENDS="resolv-conf"

View File

@ -61,8 +61,8 @@ diff -u -r ../lib.orig/ares_library_init.c ./src/lib/ares_library_init.c
--- ../lib.orig/ares_library_init.c 2020-11-21 20:32:59.251385702 +0000
+++ ./src/lib/ares_library_init.c 2020-11-21 20:37:15.703215185 +0000
@@ -30,10 +30,6 @@
fpGetBestRoute2_t ares_fpGetBestRoute2 = ZERO_NULL;
#endif
/* library-private global and unique instance vars */
-#if defined(ANDROID) || defined(__ANDROID__)
-#include "ares_android.h"
@ -72,8 +72,8 @@ diff -u -r ../lib.orig/ares_library_init.c ./src/lib/ares_library_init.c
static unsigned int ares_initialized;
@@ -174,10 +170,6 @@
if (ares_init_flags & ARES_LIB_INIT_WIN32)
ares_win32_cleanup();
/* NOTE: ARES_LIB_INIT_WIN32 flag no longer used */
-#if defined(ANDROID) || defined(__ANDROID__)
- ares_library_cleanup_android();