diff options
author | Eray Aslan <eras@gentoo.org> | 2013-02-09 22:09:17 +0000 |
---|---|---|
committer | Eray Aslan <eras@gentoo.org> | 2013-02-09 22:09:17 +0000 |
commit | bf46d6de81adbd7700c28aefe3a7fef9ddbf1a3e (patch) | |
tree | 617031061f1f945296e50669685cb76258b1a18f /app-crypt/mit-krb5 | |
parent | Deprecate 10.0 profiles (diff) | |
download | gentoo-2-bf46d6de81adbd7700c28aefe3a7fef9ddbf1a3e.tar.gz gentoo-2-bf46d6de81adbd7700c28aefe3a7fef9ddbf1a3e.tar.bz2 gentoo-2-bf46d6de81adbd7700c28aefe3a7fef9ddbf1a3e.zip |
Fix building with clang - bug #454980
(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, signed Manifest commit with key 0x77F1F175586A3B1F)
Diffstat (limited to 'app-crypt/mit-krb5')
-rw-r--r-- | app-crypt/mit-krb5/ChangeLog | 6 | ||||
-rw-r--r-- | app-crypt/mit-krb5/files/mit-krb5-1.11_clang.patch | 12 | ||||
-rw-r--r-- | app-crypt/mit-krb5/mit-krb5-1.11-r1.ebuild | 3 |
3 files changed, 19 insertions, 2 deletions
diff --git a/app-crypt/mit-krb5/ChangeLog b/app-crypt/mit-krb5/ChangeLog index ff8007926e4a..86bf43c08f4d 100644 --- a/app-crypt/mit-krb5/ChangeLog +++ b/app-crypt/mit-krb5/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-crypt/mit-krb5 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5/ChangeLog,v 1.349 2013/02/07 21:20:16 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5/ChangeLog,v 1.350 2013/02/09 22:09:17 eras Exp $ + + 09 Feb 2013; Eray Aslan <eras@gentoo.org> +files/mit-krb5-1.11_clang.patch, + mit-krb5-1.11-r1.ebuild: + Fix building with clang - bug #454980 07 Feb 2013; Ulrich Müller <ulm@gentoo.org> mit-krb5-1.10.2-r1.ebuild, mit-krb5-1.10.3.ebuild, mit-krb5-1.11.ebuild, mit-krb5-1.11-r1.ebuild: diff --git a/app-crypt/mit-krb5/files/mit-krb5-1.11_clang.patch b/app-crypt/mit-krb5/files/mit-krb5-1.11_clang.patch new file mode 100644 index 000000000000..07c5af88e614 --- /dev/null +++ b/app-crypt/mit-krb5/files/mit-krb5-1.11_clang.patch @@ -0,0 +1,12 @@ +Bug #454980 +--- a/src/kadmin/dbutil/dump.c 2013-02-10 00:00:59.336080898 +0200 ++++ b/src/kadmin/dbutil/dump.c 2013-02-10 00:02:00.559494398 +0200 +@@ -1708,7 +1708,7 @@ + int alt_key_len, salt_len, alt_salt_len; + char *name; + char *mod_name; +- int tmpint1, tmpint2, tmpint3; ++ int tmpint1 = 0, tmpint2 = 0, tmpint3 = 0; + int error; + const char *try2read; + int i; diff --git a/app-crypt/mit-krb5/mit-krb5-1.11-r1.ebuild b/app-crypt/mit-krb5/mit-krb5-1.11-r1.ebuild index 414b354525ba..2a99ed927d9c 100644 --- a/app-crypt/mit-krb5/mit-krb5-1.11-r1.ebuild +++ b/app-crypt/mit-krb5/mit-krb5-1.11-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5/mit-krb5-1.11-r1.ebuild,v 1.2 2013/02/07 21:20:16 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5/mit-krb5-1.11-r1.ebuild,v 1.3 2013/02/09 22:09:17 eras Exp $ EAPI="4" inherit eutils flag-o-matic versionator @@ -39,6 +39,7 @@ src_unpack() { src_prepare() { epatch "${FILESDIR}/${PN}-1.11_uninitialized.patch" + epatch "${FILESDIR}/${PN}-1.11_clang.patch" epatch "${FILESDIR}/${PN}_krb5-config_LDFLAGS.patch" } |