summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-libs/libqxt')
-rw-r--r--x11-libs/libqxt/ChangeLog6
-rw-r--r--x11-libs/libqxt/files/libqxt-0.5.0-gcc4.4.patch12
-rw-r--r--x11-libs/libqxt/libqxt-0.5.0.ebuild6
3 files changed, 22 insertions, 2 deletions
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 <hwoarang@gentoo.org> 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 <haavardw@ifi.uio.no> 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 <QString>
+ #include <qxtglobal.h>
+ #include <cstdlib>
+-
++#include <cstdio>
+
+
+ ///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 \