diff options
author | Alon Bar-Lev <alonbl@gentoo.org> | 2007-01-10 20:18:09 +0000 |
---|---|---|
committer | Alon Bar-Lev <alonbl@gentoo.org> | 2007-01-10 20:18:09 +0000 |
commit | ad15dc868dcf03b321aad4feef916b187163263e (patch) | |
tree | 35f61a224d86437debc1cf22076dad91b501cbac /dev-libs/libgcrypt | |
parent | Cleanup ebuild. Help works now and launcher is created using java-pkg_dolaunc... (diff) | |
download | gentoo-2-ad15dc868dcf03b321aad4feef916b187163263e.tar.gz gentoo-2-ad15dc868dcf03b321aad4feef916b187163263e.tar.bz2 gentoo-2-ad15dc868dcf03b321aad4feef916b187163263e.zip |
Fixed strict-aliasing qa issue, bug#161370
(Portage version: 2.1.2_rc4-r7)
Diffstat (limited to 'dev-libs/libgcrypt')
-rw-r--r-- | dev-libs/libgcrypt/ChangeLog | 6 | ||||
-rw-r--r-- | dev-libs/libgcrypt/files/libgcrypt-1.2.3-strict-aliasing.patch | 19 | ||||
-rw-r--r-- | dev-libs/libgcrypt/libgcrypt-1.2.3-r1.ebuild | 5 |
3 files changed, 27 insertions, 3 deletions
diff --git a/dev-libs/libgcrypt/ChangeLog b/dev-libs/libgcrypt/ChangeLog index 871598eeae0b..f928cb111b9e 100644 --- a/dev-libs/libgcrypt/ChangeLog +++ b/dev-libs/libgcrypt/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-libs/libgcrypt # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgcrypt/ChangeLog,v 1.85 2007/01/05 09:34:30 alonbl Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgcrypt/ChangeLog,v 1.86 2007/01/10 20:18:09 alonbl Exp $ + + 10 Jan 2007; Alon Bar-Lev <alonbl@gentoo.org> + +files/libgcrypt-1.2.3-strict-aliasing.patch, libgcrypt-1.2.3-r1.ebuild: + Fixed strict-aliasing qa issue, bug#161370 05 Jan 2007; Alon Bar-Lev <alonbl@gentoo.org> libgcrypt-1.2.3-r1.ebuild: Added autotools variables, bug#160135, thanks to jacub diff --git a/dev-libs/libgcrypt/files/libgcrypt-1.2.3-strict-aliasing.patch b/dev-libs/libgcrypt/files/libgcrypt-1.2.3-strict-aliasing.patch new file mode 100644 index 000000000000..e9dc7a0476e0 --- /dev/null +++ b/dev-libs/libgcrypt/files/libgcrypt-1.2.3-strict-aliasing.patch @@ -0,0 +1,19 @@ +diff -urNp libgcrypt-1.2.3.org/cipher/ac.c libgcrypt-1.2.3/cipher/ac.c +--- libgcrypt-1.2.3.org/cipher/ac.c 2005-07-29 16:45:48.000000000 +0300 ++++ libgcrypt-1.2.3/cipher/ac.c 2007-01-10 22:13:05.000000000 +0200 +@@ -137,9 +137,11 @@ gcry_ac_data_copy_internal (gcry_ac_data + data_new->data_n = data->data_n; + + if (! err) +- /* Allocate space for named MPIs. */ +- err = _gcry_malloc (sizeof (gcry_ac_mpi_t) * data->data_n, 0, +- (void **) &data_new->data); ++ { ++ /* Allocate space for named MPIs. */ ++ err = _gcry_malloc (sizeof (gcry_ac_mpi_t) * data->data_n, 0, &p); ++ data_new->data = (gcry_ac_mpi_t *)p; ++ } + + if (! err) + { +Files libgcrypt-1.2.3.org/cipher/.ac.c.swp and libgcrypt-1.2.3/cipher/.ac.c.swp differ diff --git a/dev-libs/libgcrypt/libgcrypt-1.2.3-r1.ebuild b/dev-libs/libgcrypt/libgcrypt-1.2.3-r1.ebuild index 19abdce6295c..17fc93b764a6 100644 --- a/dev-libs/libgcrypt/libgcrypt-1.2.3-r1.ebuild +++ b/dev-libs/libgcrypt/libgcrypt-1.2.3-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgcrypt/libgcrypt-1.2.3-r1.ebuild,v 1.4 2007/01/05 09:34:30 alonbl Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgcrypt/libgcrypt-1.2.3-r1.ebuild,v 1.5 2007/01/10 20:18:09 alonbl Exp $ WANT_AUTOMAKE='latest' WANT_AUTOCONF='latest' @@ -29,7 +29,8 @@ src_unpack() { # fix for miss detection of 32 bit ppc cd "${S}" - epatch "${WORKDIR}"/${PN}-1.2.1-ppc64-fix.patch + epatch "${WORKDIR}/${PN}-1.2.1-ppc64-fix.patch" + epatch "${FILESDIR}/${P}-strict-aliasing.patch" if use idea; then if use bindist; then |