summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Koltsov <maksbotan@gentoo.org>2013-03-05 19:59:54 +0000
committerMaxim Koltsov <maksbotan@gentoo.org>2013-03-05 19:59:54 +0000
commit16cb2f9c6b75a20f1d4301cbfa6acf2027f0cbc2 (patch)
tree79651c5ee42ecf11665548b040ac0401c0308967 /net-im/psi
parentForce python 2* for USE=deblob as deblob script does not yet support python3.... (diff)
downloadgentoo-2-16cb2f9c6b75a20f1d4301cbfa6acf2027f0cbc2.tar.gz
gentoo-2-16cb2f9c6b75a20f1d4301cbfa6acf2027f0cbc2.tar.bz2
gentoo-2-16cb2f9c6b75a20f1d4301cbfa6acf2027f0cbc2.zip
Fix compilation with gcc-4.7, bug #422763. Thanks to Rion.
(Portage version: 2.1.11.52/cvs/Linux x86_64, signed Manifest commit with key F8DBDADE)
Diffstat (limited to 'net-im/psi')
-rw-r--r--net-im/psi/ChangeLog5
-rw-r--r--net-im/psi/psi-0.14-r4.ebuild4
2 files changed, 7 insertions, 2 deletions
diff --git a/net-im/psi/ChangeLog b/net-im/psi/ChangeLog
index cc011fd1ddb0..da3a2ada39d6 100644
--- a/net-im/psi/ChangeLog
+++ b/net-im/psi/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-im/psi
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/psi/ChangeLog,v 1.231 2013/03/02 22:53:03 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/psi/ChangeLog,v 1.232 2013/03/05 19:59:54 maksbotan Exp $
+
+ 05 Mar 2013; Maxim Koltsov <maksbotan@gentoo.org> psi-0.14-r4.ebuild:
+ Fix compilation with gcc-4.7, bug #422763. Thanks to Rion.
02 Mar 2013; Markos Chandras <hwoarang@gentoo.org> psi-0.14-r4.ebuild,
psi-9999.ebuild:
diff --git a/net-im/psi/psi-0.14-r4.ebuild b/net-im/psi/psi-0.14-r4.ebuild
index d11f49bc4caf..9f2ea1bbd8dd 100644
--- a/net-im/psi/psi-0.14-r4.ebuild
+++ b/net-im/psi/psi-0.14-r4.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/net-im/psi/psi-0.14-r4.ebuild,v 1.12 2013/03/02 22:53:03 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/psi/psi-0.14-r4.ebuild,v 1.13 2013/03/05 19:59:54 maksbotan Exp $
EAPI=4
@@ -55,6 +55,8 @@ src_prepare() {
epatch "${FILESDIR}/psi-0.14-minizip-detection.patch"
epatch "${FILESDIR}/psi-0.14-input-validation.patch"
epatch "${FILESDIR}/psi-0.14-drop-debug-cflags.patch"
+ sed -i '/#include <errno.h>/a #include <unistd.h>' \
+ iris/src/irisnet/corelib/netinterface_unix.cpp || die 'sed failed'
if use extras; then
# some patches from psi+ project http://code.google.com/p/psi-dev