From 1ed80679337c122091cb7aa97765ec4af9f0baf8 Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Mon, 13 Jul 2009 07:35:29 +0000 Subject: Fix gcc-4.4 compilation bug 277591 (Portage version: 2.2_rc33/cvs/Linux x86_64) --- x11-libs/libqxt/ChangeLog | 6 +++++- x11-libs/libqxt/files/libqxt-0.5.0-gcc4.4.patch | 12 ++++++++++++ x11-libs/libqxt/libqxt-0.5.0.ebuild | 6 +++++- 3 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 x11-libs/libqxt/files/libqxt-0.5.0-gcc4.4.patch (limited to 'x11-libs/libqxt') diff --git a/x11-libs/libqxt/ChangeLog b/x11-libs/libqxt/ChangeLog index f74ff8b2abf0..dbd6cd704619 100644 --- a/x11-libs/libqxt/ChangeLog +++ b/x11-libs/libqxt/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for x11-libs/libqxt # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/libqxt/ChangeLog,v 1.8 2009/04/30 13:26:15 yngwin Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/libqxt/ChangeLog,v 1.9 2009/07/13 07:35:29 hwoarang Exp $ + + 13 Jul 2009; Markos Chandras libqxt-0.5.0.ebuild, + +files/libqxt-0.5.0-gcc4.4.patch: + Fix gcc-4.4 compilation bug 277591. Thanks to HÃ¥vard Wall for the patch *libqxt-0.5.0 (30 Apr 2009) diff --git a/x11-libs/libqxt/files/libqxt-0.5.0-gcc4.4.patch b/x11-libs/libqxt/files/libqxt-0.5.0-gcc4.4.patch new file mode 100644 index 000000000000..36815e74370e --- /dev/null +++ b/x11-libs/libqxt/files/libqxt-0.5.0-gcc4.4.patch @@ -0,0 +1,12 @@ +diff --git a/src/berkeley/qxtbdb.h b/src/berkeley/qxtbdb.h +--- a/src/berkeley/qxtbdb.h ++++ b/src/berkeley/qxtbdb.h +@@ -39,7 +39,7 @@ + #include + #include + #include +- ++#include + + + ///its impossible to forward anyway, diff --git a/x11-libs/libqxt/libqxt-0.5.0.ebuild b/x11-libs/libqxt/libqxt-0.5.0.ebuild index 9d50f2c42195..54d8a9322324 100644 --- a/x11-libs/libqxt/libqxt-0.5.0.ebuild +++ b/x11-libs/libqxt/libqxt-0.5.0.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-libs/libqxt/libqxt-0.5.0.ebuild,v 1.1 2009/04/30 13:26:15 yngwin Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/libqxt/libqxt-0.5.0.ebuild,v 1.2 2009/07/13 07:35:29 hwoarang Exp $ EAPI=2 inherit eutils qt4 @@ -23,6 +23,10 @@ RDEPEND="x11-libs/qt-gui:4 DEPEND="${DEPEND} doc? ( app-doc/doxygen )" +PATCHES=( + "${FILESDIR}/libqxt-0.5.0-gcc4.4.patch" +) + src_configure() { local myconf myconf="-prefix /usr \ -- cgit v1.2.3-65-gdbad