Commit 7d364746 authored by Timo Teräs's avatar Timo Teräs

main/nspr: upgrade to 4.10.1, and fix musl build

parent 9c5cd3c3
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=nspr
pkgver=4.10
pkgver=4.10.1
pkgrel=0
pkgdesc="Netscape Portable Runtime"
url="http://www.mozilla.org/projects/nspr/"
......@@ -10,6 +10,7 @@ depends=
makedepends="autoconf automake sed"
subpackages="$pkgname-dev"
source="ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v$pkgver/src/nspr-$pkgver.tar.gz
fix-getproto.patch
"
_builddir="$srcdir"/$pkgname-$pkgver
......@@ -62,6 +63,9 @@ package() {
"$pkgdir"/usr/include/nspr/md
}
md5sums="f5466def95726b3c900d8a0227bdd034 nspr-4.10.tar.gz"
sha256sums="0cfbe561676b92e5af3ddc7ac77452014e3da8885da66baec811e7354138cc16 nspr-4.10.tar.gz"
sha512sums="80d511e3bdce9a1efc577acc1671f507bef3d6ca933705f67a7aba567ff7b981e9cde70c2da6fbde82852938b779baa0058c82f937d4ac3e672f6d8e7bdefe8b nspr-4.10.tar.gz"
md5sums="2e354084ca2bc5fbbb820762597f3890 nspr-4.10.1.tar.gz
c417cf87161ee2d12c5c1c772c94cc38 fix-getproto.patch"
sha256sums="0c2f8dc265f1e9b2600fd519430a1f960799888857bbb1538343a1b16ba41b20 nspr-4.10.1.tar.gz
46bf377b7e19f8450b81366905237630a85691a55fccddb355b2f55d60e8b4a6 fix-getproto.patch"
sha512sums="80b8895a104317dd18d19e813ecf91f081d85b36320b3e3898802f653b5e29320667729208178b3ca556a4066906774d446193cba76caafef002b1d7b240e249 nspr-4.10.1.tar.gz
197f0e644bf402ee9cf1c621a0daf3426659ca05610aa7b6d8bed3d81f1d1c77c0a81ef35a92fa42b271c7f814d718ec1d1b61f5f4b554b3735142903b70e32b fix-getproto.patch"
--- ./nspr/pr/src/misc/prnetdb.c.orig
+++ ./nspr/pr/src/misc/prnetdb.c
@@ -61,10 +61,7 @@
#define _PR_HAVE_GETPROTO_R_POINTER
#endif
-#if defined(SOLARIS) || (defined(BSDI) && defined(_REENTRANT)) \
- || (defined(LINUX) && defined(_REENTRANT) \
- && !(defined(__GLIBC__) && __GLIBC__ >= 2) \
- && !defined(ANDROID))
+#if defined(SOLARIS) || (defined(BSDI) && defined(_REENTRANT))
#define _PR_HAVE_GETPROTO_R
#define _PR_HAVE_GETPROTO_R_POINTER
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment