nspr: update to 4.13.1

This commit is contained in:
Alessio Sergi 2016-11-15 23:33:13 +01:00
parent 173942ca2c
commit 0d0b14160f

View file

@ -1,6 +1,6 @@
# Template file for 'nspr'
pkgname=nspr
version=4.12
version=4.13.1
revision=1
build_style=gnu-configure
build_wrksrc="nspr"
@ -8,9 +8,9 @@ makedepends="zlib-devel"
short_desc="NetScape Portable Runtime"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.mozilla.org/projects/nspr/"
license="GPL-2, MPL-1.1"
license="MPL-2.0"
distfiles="${MOZILLA_SITE}/nspr/releases/v${version}/src/${pkgname}-${version}.tar.gz"
checksum=e0b10a1e569153668ff8bdea6c7e491b389fab69c2f18285a1ebf7c2ea4269de
checksum=5e4c1751339a76e7c772c0c04747488d7f8c98980b434dc846977e43117833ab
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"