From f012a51b9c689ff45aa63effba45c7999c6acc48 Mon Sep 17 00:00:00 2001 From: Anthony Iliopoulos Date: Mon, 23 Nov 2020 17:24:10 +0100 Subject: [PATCH] c-ares: update to 1.17.1. --- srcpkgs/c-ares/template | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/srcpkgs/c-ares/template b/srcpkgs/c-ares/template index e1849f9b3c0..9f81b95462c 100644 --- a/srcpkgs/c-ares/template +++ b/srcpkgs/c-ares/template @@ -1,22 +1,19 @@ # Template file for 'c-ares' pkgname=c-ares -version=1.16.1 +version=1.17.1 revision=1 build_style=gnu-configure short_desc="C library that performs DNS requests and name resolves asynchronously" maintainer="Orphaned " license="MIT" homepage="https://c-ares.haxx.se/" -distfiles="https://c-ares.haxx.se/download/${pkgname}-${version}.tar.gz" -checksum=d08312d0ecc3bd48eee0a4cc0d2137c9f194e0a28de2028928c0f6cae85f86ce +changelog="https://c-ares.haxx.se/changelog.html" +distfiles="${homepage}/download/${pkgname}-${version}.tar.gz" +checksum=d73dd0f6de824afd407ce10750ea081af47eba52b8a6cb307d220131ad93fc40 pre_configure() { - case "$CFLAGS" in - *"-D_FORTIFY_SOURCE=2"*) - export CFLAGS=${CFLAGS/-D_FORTIFY_SOURCE=?/} - export CPPFLAGS+=" -D_FORTIFY_SOURCE=2" - ;; - esac + export CFLAGS=${CFLAGS/-D_FORTIFY_SOURCE=?/} + export CPPFLAGS+=" -D_FORTIFY_SOURCE=2" export CFLAGS=${CFLAGS/-I${XBPS_CROSS_BASE}\/usr\/include/} }