summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorMatt Smith <mcs@darkregion.net>2011-01-14 11:38:45 -0600
committerMatt Smith <mcs@darkregion.net>2011-01-14 11:38:45 -0600
commitd97df93b24d117c628790fc558b37f509fffe6f1 (patch)
treea9fc3e12d2dd0657e2b7bcd33f1d7c6b15a0c356 /main
parent989ba184a4f94f545b7b6ec257e7ad93474d3d43 (diff)
downloadaports-d97df93b24d117c628790fc558b37f509fffe6f1.tar.bz2
aports-d97df93b24d117c628790fc558b37f509fffe6f1.tar.xz
main/apr: patched gcc 4.5 alias issue
See #504
Diffstat (limited to 'main')
-rw-r--r--main/apr/APKBUILD15
1 files changed, 12 insertions, 3 deletions
diff --git a/main/apr/APKBUILD b/main/apr/APKBUILD
index a72224252..7de73b2cc 100644
--- a/main/apr/APKBUILD
+++ b/main/apr/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=apr
pkgver=1.4.2
-pkgrel=3
+pkgrel=4
pkgdesc="The Apache Portable Runtime"
url="http://apr.apache.org/"
arch="all"
@@ -10,9 +10,17 @@ depends=
makedepends="util-linux-ng-dev"
depends_dev="util-linux-ng-dev"
subpackages="$pkgname-dev"
-source="http://www.apache.org/dist/$pkgname/$pkgname-$pkgver.tar.bz2"
+source="http://www.apache.org/dist/$pkgname/$pkgname-$pkgver.tar.bz2
+ saveas-http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/apr/current/SOURCES/apr-1.4.2-alias.patch?revision=604557&content-type=text%2Fplain&view=co/apr-1.4.2-alias.patch
+ "
_builddir="$srcdir"/$pkgname-$pkgver
+
+prepare() {
+ cd "$_builddir"
+ patch -p1 -i "$srcdir"/apr-1.4.2-alias.patch || return 1 #see #504
+}
+
build() {
cd "$_builddir"
./configure --prefix=/usr \
@@ -39,4 +47,5 @@ dev() {
return 0
}
-md5sums="4b00e8f70c067893d075577962656b35 apr-1.4.2.tar.bz2"
+md5sums="4b00e8f70c067893d075577962656b35 apr-1.4.2.tar.bz2
+09880bf826888537f756fd21f6b8c796 apr-1.4.2-alias.patch"