nspr: update to 4.31.

This commit is contained in:
Đoàn Trần Công Danh 2021-05-27 06:58:30 +07:00
parent b01d852c71
commit 91742fd5ae

View file

@ -1,6 +1,6 @@
# Template file for 'nspr'
pkgname=nspr
version=4.30
version=4.31
revision=1
build_wrksrc=nspr
build_style=gnu-configure
@ -10,7 +10,7 @@ maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="MPL-2.0"
homepage="http://www.mozilla.org/projects/nspr/"
distfiles="${MOZILLA_SITE}/nspr/releases/v${version}/src/${pkgname}-${version}.tar.gz"
checksum=8d4cd8f8409484dc4c3d31e180354bfc506573eccf86cd691106a1ef7edc913b
checksum=5729da87d5fbf1584b72840751e0c6f329b5d541850cacd1b61652c95015abc8
do_configure() {
CFLAGS="$CFLAGS -D_PR_POLL_AVAILABLE -D_PR_HAVE_OFF64_T -D_PR_INET6 -D_PR_HAVE_INET_NTOP -D_PR_HAVE_GETHOSTBYNAME2 -D_PR_HAVE_GETADDRINFO -D_PR_INET6_PROBE"