summaryrefslogtreecommitdiff
path: root/core/krb5
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-04-05 00:01:23 +0000
committerroot <root@rshg054.dnsready.net>2012-04-05 00:01:23 +0000
commit608a49084f8c6599f8adef56b6c1480c3e293c04 (patch)
treeb385b78ccb9657030d632f662b68a495286e9a55 /core/krb5
parent96deddcec133f85220a15d4c435004c577395169 (diff)
Thu Apr 5 00:01:22 UTC 2012
Diffstat (limited to 'core/krb5')
-rw-r--r--core/krb5/PKGBUILD12
-rw-r--r--core/krb5/krb5-1.10.1-gcc47.patch11
2 files changed, 21 insertions, 2 deletions
diff --git a/core/krb5/PKGBUILD b/core/krb5/PKGBUILD
index 0868fcdd9..44c357130 100644
--- a/core/krb5/PKGBUILD
+++ b/core/krb5/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 153617 2012-03-16 17:46:18Z stephane $
+# $Id: PKGBUILD 155426 2012-04-03 14:17:30Z 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
diff --git a/core/krb5/krb5-1.10.1-gcc47.patch b/core/krb5/krb5-1.10.1-gcc47.patch
new file mode 100644
index 000000000..ffd01c2a3
--- /dev/null
+++ b/core/krb5/krb5-1.10.1-gcc47.patch
@@ -0,0 +1,11 @@
+diff -Naur krb5-1.10.1.ori/src/lib/krb5/krb/x-deltat.y krb5-1.10.1/src/lib/krb5/krb/x-deltat.y
+--- krb5-1.10.1.ori/src/lib/krb5/krb/x-deltat.y 2011-09-06 07:34:32.000000000 -0400
++++ krb5-1.10.1/src/lib/krb5/krb/x-deltat.y 2012-03-24 13:15:11.543551318 -0400
+@@ -44,6 +44,7 @@
+ #ifdef __GNUC__
+ #pragma GCC diagnostic push
+ #pragma GCC diagnostic ignored "-Wuninitialized"
++#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
+ #endif
+
+ #include <ctype.h>