asio: update to 1.18.1.

This commit is contained in:
Evgeny Ermakov 2021-03-08 23:47:44 +11:00 committed by Érico Nogueira Rolim
parent 3da5999d80
commit 1dc938c04a

View file

@ -1,6 +1,6 @@
# Template file for 'asio'
pkgname=asio
version=1.18.0
version=1.18.1
revision=1
build_style=gnu-configure
short_desc="Cross-platform C++ library for ASynchronous network I/O"
@ -8,15 +8,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="BSL-1.0"
homepage="http://think-async.com/Asio/"
distfiles="${SOURCEFORGE_SITE}/asio/asio-${version}.tar.bz2"
checksum=9d539e7c09aa6394d512c433c5601c1f26dc4975f022ad7d5e8e57c3b635b370
pre_configure() {
case "$XBPS_TARGET_MACHINE" in
*-musl) # Enable strerror_r(3) version for musl libc
vsed -e "/#define ASIO_IMPL_ERROR_CODE_IPP/a #define MUSL_LIBC" \
-i ${wrksrc}/include/asio/impl/error_code.ipp
esac
}
checksum=4af9875df5497fdd507231f4b7346e17d96fc06fe10fd30e2b3750715a329113
post_install() {
vlicense LICENSE_1_0.txt