summaryrefslogtreecommitdiff
path: root/testing/krb5/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/krb5/PKGBUILD')
-rw-r--r--testing/krb5/PKGBUILD12
1 files changed, 10 insertions, 2 deletions
diff --git a/testing/krb5/PKGBUILD b/testing/krb5/PKGBUILD
index a575b0f11..8c23e224e 100644
--- a/testing/krb5/PKGBUILD
+++ b/testing/krb5/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 152709 2012-03-09 01:03:05Z stephane $
+# $Id: PKGBUILD 154246 2012-03-24 18:09:09Z stephane $
# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
pkgname=krb5
pkgver=1.10.1
-pkgrel=1
+pkgrel=2
pkgdesc="The Kerberos network authentication system"
arch=('i686' 'x86_64')
url="http://web.mit.edu/kerberos/"
@@ -15,10 +15,12 @@ replaces=('heimdal')
conflicts=('heimdal')
backup=('etc/krb5.conf' 'var/lib/krb5kdc/kdc.conf')
source=(http://web.mit.edu/kerberos/dist/${pkgname}/1.10/${pkgname}-${pkgver}-signed.tar
+ krb5-1.10.1-gcc47.patch
krb5-kadmind
krb5-kdc
krb5-kpropd)
sha1sums=('f9f3b77173f68b268b43e4f9c29bf7c9f3fd1f0e'
+ '78b759d566b1fdefd9bbcd06df14f07f12effe96'
'2aa229369079ed1bbb201a1ef72c47bf143f4dbe'
'77d2312ecd8bf12a6e72cc8fd871a8ac93b23393'
'7f402078fa65bb9ff1beb6cbbbb017450df78560')
@@ -28,6 +30,12 @@ build() {
tar zxvf ${pkgname}-${pkgver}.tar.gz
cd "${srcdir}/${pkgname}-${pkgver}/src"
+ # With gcc47 : deltat.c:1694:12: error: 'yylval' may be used uninitialized
+ # in this function [-Werror=maybe-uninitialized]
+ # As this is generated code, just ignore the complaint.
+ patch -Np2 -i ../../krb5-1.10.1-gcc47.patch
+ rm lib/krb5/krb/deltat.c
+
# FS#25384
sed -i "/KRB5ROOT=/s/\/local//" util/ac_check_krb5.m4