summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEray Aslan <eras@gentoo.org>2014-04-19 10:10:29 +0000
committerEray Aslan <eras@gentoo.org>2014-04-19 10:10:29 +0000
commit6158d6ed9b4eb15e2d55e43602948214acfd26ac (patch)
tree1d66af9ff30fb7d5a4ec57d48b460605e2217c8b /net-mail
parentVersion bump; remove old (diff)
downloadgentoo-2-6158d6ed9b4eb15e2d55e43602948214acfd26ac.tar.gz
gentoo-2-6158d6ed9b4eb15e2d55e43602948214acfd26ac.tar.bz2
gentoo-2-6158d6ed9b4eb15e2d55e43602948214acfd26ac.zip
Fix build with clang - bug #507504
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0x77F1F175586A3B1F)
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/mpack/ChangeLog8
-rw-r--r--net-mail/mpack/files/mpack-1.6-clang.patch11
-rw-r--r--net-mail/mpack/mpack-1.6-r3.ebuild6
3 files changed, 21 insertions, 4 deletions
diff --git a/net-mail/mpack/ChangeLog b/net-mail/mpack/ChangeLog
index 866f330f283f..774939ccd3c1 100644
--- a/net-mail/mpack/ChangeLog
+++ b/net-mail/mpack/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-mail/mpack
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/mpack/ChangeLog,v 1.26 2012/12/21 13:33:49 eras Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/mpack/ChangeLog,v 1.27 2014/04/19 10:10:29 eras Exp $
+
+ 19 Apr 2014; Eray Aslan <eras@gentoo.org> +files/mpack-1.6-clang.patch,
+ mpack-1.6-r3.ebuild:
+ Fix build with clang - bug #507504
21 Dec 2012; Eray Aslan <eras@gentoo.org> mpack-1.6-r3.ebuild:
Fix license - bug #446482
diff --git a/net-mail/mpack/files/mpack-1.6-clang.patch b/net-mail/mpack/files/mpack-1.6-clang.patch
new file mode 100644
index 000000000000..0aac7d2adfba
--- /dev/null
+++ b/net-mail/mpack/files/mpack-1.6-clang.patch
@@ -0,0 +1,11 @@
+--- uudecode.c 2003-07-21 20:46:37.000000000 +0000
++++ uudecode.c 2014-04-19 10:04:19.000000000 +0000
+@@ -845,7 +845,7 @@
+ }
+ line += 4;
+ }
+- return;
++ return 0;
+ }
+
+
diff --git a/net-mail/mpack/mpack-1.6-r3.ebuild b/net-mail/mpack/mpack-1.6-r3.ebuild
index 31d51a8ab14c..77db3a5e2b0e 100644
--- a/net-mail/mpack/mpack-1.6-r3.ebuild
+++ b/net-mail/mpack/mpack-1.6-r3.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/mpack/mpack-1.6-r3.ebuild,v 1.4 2012/12/21 13:33:49 eras Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/mpack/mpack-1.6-r3.ebuild,v 1.5 2014/04/19 10:10:29 eras Exp $
EAPI="3"
@@ -27,6 +27,8 @@ src_prepare() {
epatch "${FILESDIR}"/${P}-paths.patch
epatch "${FILESDIR}"/${P}-cve-2011-4919.patch
+ epatch "${FILESDIR}"/${P}-clang.patch
+
eautoreconf
}