mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-06 23:23:51 +02:00
c-ares: update to 1.17.1.
This commit is contained in:
parent
8be5e97671
commit
665129a2ca
1 changed files with 6 additions and 9 deletions
|
@ -1,22 +1,19 @@
|
||||||
# Template file for 'c-ares'
|
# Template file for 'c-ares'
|
||||||
pkgname=c-ares
|
pkgname=c-ares
|
||||||
version=1.16.1
|
version=1.17.1
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
short_desc="C library that performs DNS requests and name resolves asynchronously"
|
short_desc="C library that performs DNS requests and name resolves asynchronously"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://c-ares.haxx.se/"
|
homepage="https://c-ares.haxx.se/"
|
||||||
distfiles="https://c-ares.haxx.se/download/${pkgname}-${version}.tar.gz"
|
changelog="https://c-ares.haxx.se/changelog.html"
|
||||||
checksum=d08312d0ecc3bd48eee0a4cc0d2137c9f194e0a28de2028928c0f6cae85f86ce
|
distfiles="${homepage}/download/${pkgname}-${version}.tar.gz"
|
||||||
|
checksum=d73dd0f6de824afd407ce10750ea081af47eba52b8a6cb307d220131ad93fc40
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
case "$CFLAGS" in
|
export CFLAGS=${CFLAGS/-D_FORTIFY_SOURCE=?/}
|
||||||
*"-D_FORTIFY_SOURCE=2"*)
|
export CPPFLAGS+=" -D_FORTIFY_SOURCE=2"
|
||||||
export CFLAGS=${CFLAGS/-D_FORTIFY_SOURCE=?/}
|
|
||||||
export CPPFLAGS+=" -D_FORTIFY_SOURCE=2"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
export CFLAGS=${CFLAGS/-I${XBPS_CROSS_BASE}\/usr\/include/}
|
export CFLAGS=${CFLAGS/-I${XBPS_CROSS_BASE}\/usr\/include/}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue