summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2009-09-22 19:02:11 +0000
committerPatrick Lauer <patrick@gentoo.org>2009-09-22 19:02:11 +0000
commit0cc3027846254e258f5a4683d5068cb42516db94 (patch)
tree33387463074f6e107b0d6b19d0f2653d6587e061
parentquoting (diff)
downloadgentoo-2-0cc3027846254e258f5a4683d5068cb42516db94.tar.gz
gentoo-2-0cc3027846254e258f5a4683d5068cb42516db94.tar.bz2
gentoo-2-0cc3027846254e258f5a4683d5068cb42516db94.zip
Fixing compile failure, thanks to Ian Whyman. Closes #276185
(Portage version: 2.2_rc41/cvs/Linux x86_64)
-rw-r--r--x11-misc/qterm/ChangeLog8
-rw-r--r--x11-misc/qterm/files/qterm-0.5.2-include.patch12
-rw-r--r--x11-misc/qterm/qterm-0.5.2-r2.ebuild5
3 files changed, 22 insertions, 3 deletions
diff --git a/x11-misc/qterm/ChangeLog b/x11-misc/qterm/ChangeLog
index 7622f89396ad..4665ff2c858f 100644
--- a/x11-misc/qterm/ChangeLog
+++ b/x11-misc/qterm/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-misc/qterm
-# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/qterm/ChangeLog,v 1.32 2009/03/20 13:49:50 hwoarang Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/qterm/ChangeLog,v 1.33 2009/09/22 19:02:10 patrick Exp $
+
+ 22 Sep 2009; Patrick Lauer <patrick@gentoo.org> qterm-0.5.2-r2.ebuild,
+ +files/qterm-0.5.2-include.patch:
+ Fixing compile failure, thanks to Ian Whyman. Closes #276185
20 Mar 2009; Markos Chandras <hwoarang@gentoo.org> -qterm-0.5.2.ebuild,
-qterm-0.5.2-r1.ebuild:
diff --git a/x11-misc/qterm/files/qterm-0.5.2-include.patch b/x11-misc/qterm/files/qterm-0.5.2-include.patch
new file mode 100644
index 000000000000..d6ca94e42f30
--- /dev/null
+++ b/x11-misc/qterm/files/qterm-0.5.2-include.patch
@@ -0,0 +1,12 @@
+diff -urB qterm-0.5.2-org/src/ssh/transport.cpp qterm-0.5.2/src/ssh/transport.cpp
+--- qterm-0.5.2-org/src/ssh/transport.cpp 2008-05-11 17:07:32.000000000 +0100
++++ qterm-0.5.2/src/ssh/transport.cpp 2009-09-22 18:22:21.441471876 +0100
+@@ -9,6 +9,8 @@
+ // Copyright: See COPYING file that comes with this distribution
+ //
+ //
++#include <cstdio>
++#include <stdint.h>
+ #include "transport.h"
+ #include <QtCore/QString>
+
diff --git a/x11-misc/qterm/qterm-0.5.2-r2.ebuild b/x11-misc/qterm/qterm-0.5.2-r2.ebuild
index b868e0e15f2a..9f2b14a2d55c 100644
--- a/x11-misc/qterm/qterm-0.5.2-r2.ebuild
+++ b/x11-misc/qterm/qterm-0.5.2-r2.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/x11-misc/qterm/qterm-0.5.2-r2.ebuild,v 1.2 2009/01/21 22:19:53 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/qterm/qterm-0.5.2-r2.ebuild,v 1.3 2009/09/22 19:02:10 patrick Exp $
EAPI="1"
inherit cmake-utils eutils
@@ -28,6 +28,9 @@ src_unpack() {
# bug #225117
epatch "${FILESDIR}/${P}-as-needed.patch"
sed -i -e '/^Exec/s/qterm/QTerm/' src/qterm.desktop.in || die
+ # bug 276185
+ epatch "${FILESDIR}/${P}-include.patch"
+
# fix the broken language files
lrelease src/po/qterm_ch*.ts || die