nspr: update to 4.18. (#10966)

This commit is contained in:
maxice8 2018-01-20 04:05:22 -02:00 committed by Juan RP
parent 7d2d8bda4b
commit af63f40ec9

View file

@ -1,6 +1,6 @@
# Template file for 'nspr'
pkgname=nspr
version=4.17
version=4.18
revision=1
build_style=gnu-configure
build_wrksrc="nspr"
@ -10,7 +10,7 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.mozilla.org/projects/nspr/"
license="MPL-2.0"
distfiles="${MOZILLA_SITE}/nspr/releases/v${version}/src/${pkgname}-${version}.tar.gz"
checksum=590a0aea29412ae22d7728038c21ef2ab42646e48172a47d2e4bb782846d1095
checksum=b89657c09bf88707d06ac238b8930d3ae08de68cb3edccfdc2e3dc97f9c8fb34
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"