summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-08-08 07:37:16 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-08-08 07:37:16 +0000
commit0a27db5e695c232110db86c322c9c9838c1df0b4 (patch)
tree1f2326ad55485d50744d2f481a1aed89e381ab2c /net-mail/bincimap
parentversion bump (diff)
downloadgentoo-2-0a27db5e695c232110db86c322c9c9838c1df0b4.tar.gz
gentoo-2-0a27db5e695c232110db86c322c9c9838c1df0b4.tar.bz2
gentoo-2-0a27db5e695c232110db86c322c9c9838c1df0b4.zip
Fix building with GLIBC 2.10+ wrt #277583.
(Portage version: 2.2_rc36/cvs/Linux x86_64)
Diffstat (limited to 'net-mail/bincimap')
-rw-r--r--net-mail/bincimap/ChangeLog8
-rw-r--r--net-mail/bincimap/bincimap-1.2.13.ebuild3
-rw-r--r--net-mail/bincimap/files/bincimap-1.2.13-glibc-2.10.patch12
3 files changed, 20 insertions, 3 deletions
diff --git a/net-mail/bincimap/ChangeLog b/net-mail/bincimap/ChangeLog
index 5a2e66af4309..5fee6b4d2721 100644
--- a/net-mail/bincimap/ChangeLog
+++ b/net-mail/bincimap/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-mail/bincimap
-# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/bincimap/ChangeLog,v 1.50 2009/02/08 16:50:48 maekke Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/bincimap/ChangeLog,v 1.51 2009/08/08 07:37:16 ssuominen Exp $
+
+ 08 Aug 2009; Samuli Suominen <ssuominen@gentoo.org>
+ bincimap-1.2.13.ebuild, +files/bincimap-1.2.13-glibc-2.10.patch:
+ Fix building with GLIBC 2.10+ wrt #277583.
08 Feb 2009; Markus Meier <maekke@gentoo.org> bincimap-1.2.13.ebuild:
amd64/x86 stable, bug #245677
diff --git a/net-mail/bincimap/bincimap-1.2.13.ebuild b/net-mail/bincimap/bincimap-1.2.13.ebuild
index 4301f10549f8..7f77fd6a4564 100644
--- a/net-mail/bincimap/bincimap-1.2.13.ebuild
+++ b/net-mail/bincimap/bincimap-1.2.13.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/bincimap/bincimap-1.2.13.ebuild,v 1.8 2009/02/08 16:50:48 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/bincimap/bincimap-1.2.13.ebuild,v 1.9 2009/08/08 07:37:16 ssuominen Exp $
inherit eutils
@@ -31,6 +31,7 @@ src_unpack() {
epatch "${FILESDIR}"/${P}-gentoo.diff
epatch "${FILESDIR}"/${PN}-1.2-gcc43.patch
+ epatch "${FILESDIR}"/${P}-glibc-2.10.patch
}
src_compile() {
diff --git a/net-mail/bincimap/files/bincimap-1.2.13-glibc-2.10.patch b/net-mail/bincimap/files/bincimap-1.2.13-glibc-2.10.patch
new file mode 100644
index 000000000000..063f7a54dc3d
--- /dev/null
+++ b/net-mail/bincimap/files/bincimap-1.2.13-glibc-2.10.patch
@@ -0,0 +1,12 @@
+diff -ur bincimap-1.2.13final.orig/src/convert.h bincimap-1.2.13final/src/convert.h
+--- bincimap-1.2.13final.orig/src/convert.h 2005-02-08 22:30:22.000000000 +0200
++++ bincimap-1.2.13final/src/convert.h 2009-08-08 10:38:08.000000000 +0300
+@@ -111,7 +111,7 @@
+ unsigned char c = *i;
+ unsigned char d = *(i + 1);
+
+- char *t;
++ const char *t;
+ if ((t = strchr(hexchars, c)) == 0)
+ return "out of range";
+ n = (t - hexchars) << 4;