summaryrefslogtreecommitdiffstats
path: root/main/nspr
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-10-08 08:25:21 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-10-08 08:25:21 +0000
commit7d364746ce9ad378592c1810d4b4d145cabb27cc (patch)
tree455d3a6a2e668380ae02f2a1baecad8094824413 /main/nspr
parent9c5cd3c329a40ba4559cc1d8c7d17a9bf95c237b (diff)
downloadaports-7d364746ce9ad378592c1810d4b4d145cabb27cc.tar.bz2
aports-7d364746ce9ad378592c1810d4b4d145cabb27cc.tar.xz
main/nspr: upgrade to 4.10.1, and fix musl build
Diffstat (limited to 'main/nspr')
-rw-r--r--main/nspr/APKBUILD12
-rw-r--r--main/nspr/fix-getproto.patch14
2 files changed, 22 insertions, 4 deletions
diff --git a/main/nspr/APKBUILD b/main/nspr/APKBUILD
index bf9a29ebf..11c5497af 100644
--- a/main/nspr/APKBUILD
+++ b/main/nspr/APKBUILD
@@ -1,6 +1,6 @@
# 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"
diff --git a/main/nspr/fix-getproto.patch b/main/nspr/fix-getproto.patch
new file mode 100644
index 000000000..7fa98da26
--- /dev/null
+++ b/main/nspr/fix-getproto.patch
@@ -0,0 +1,14 @@
+--- ./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