summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Ullmann <jokey@gentoo.org>2008-08-10 15:12:30 +0000
committerMarkus Ullmann <jokey@gentoo.org>2008-08-10 15:12:30 +0000
commitadde4e0edd098ab58b957dc11558c34f99a4c949 (patch)
tree0b33d94c15a68a00ef152ec8e52d6b60cd402486 /kde-misc
parentUpdate to current license (diff)
downloadgentoo-2-adde4e0edd098ab58b957dc11558c34f99a4c949.tar.gz
gentoo-2-adde4e0edd098ab58b957dc11558c34f99a4c949.tar.bz2
gentoo-2-adde4e0edd098ab58b957dc11558c34f99a4c949.zip
Add gcc 4.3 build patch, thanks to Marek Miller and Billy DeVincentis wrt bug #227253
(Portage version: 2.2_rc6/cvs/Linux 2.6.26-gentoo i686)
Diffstat (limited to 'kde-misc')
-rw-r--r--kde-misc/metamonitor/ChangeLog9
-rw-r--r--kde-misc/metamonitor/files/metamonitor-0.4.5-gcc43.patch12
-rw-r--r--kde-misc/metamonitor/metamonitor-0.4.5.ebuild11
3 files changed, 28 insertions, 4 deletions
diff --git a/kde-misc/metamonitor/ChangeLog b/kde-misc/metamonitor/ChangeLog
index 06a6c3bdcb6d..24d44676ff5f 100644
--- a/kde-misc/metamonitor/ChangeLog
+++ b/kde-misc/metamonitor/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for kde-misc/metamonitor
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-misc/metamonitor/ChangeLog,v 1.1 2007/04/07 16:17:58 jokey Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/metamonitor/ChangeLog,v 1.2 2008/08/10 15:12:30 jokey Exp $
+
+ 10 Aug 2008; Markus Ullmann <jokey@gentoo.org>
+ +files/metamonitor-0.4.5-gcc43.patch, metamonitor-0.4.5.ebuild:
+ Add gcc 4.3 build patch, thanks to Marek Miller and Billy DeVincentis wrt
+ bug #227253
*metamonitor-0.4.5 (07 Apr 2007)
diff --git a/kde-misc/metamonitor/files/metamonitor-0.4.5-gcc43.patch b/kde-misc/metamonitor/files/metamonitor-0.4.5-gcc43.patch
new file mode 100644
index 000000000000..786ecf64b250
--- /dev/null
+++ b/kde-misc/metamonitor/files/metamonitor-0.4.5-gcc43.patch
@@ -0,0 +1,12 @@
+--- src/mfile.h.orig 2008-06-15 19:47:21.000000000 +0000
++++ src/mfile.h 2008-06-15 19:48:35.000000000 +0000
+@@ -12,6 +12,8 @@
+ #ifndef MFILE_H
+ #define MFILE_H
+
++
++#include <sys/types.h>
+ #include <qobject.h>
+ #include <qstring.h>
+
+
diff --git a/kde-misc/metamonitor/metamonitor-0.4.5.ebuild b/kde-misc/metamonitor/metamonitor-0.4.5.ebuild
index 42750c39cc7e..233b7af99952 100644
--- a/kde-misc/metamonitor/metamonitor-0.4.5.ebuild
+++ b/kde-misc/metamonitor/metamonitor-0.4.5.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-misc/metamonitor/metamonitor-0.4.5.ebuild,v 1.2 2007/04/09 01:01:10 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/metamonitor/metamonitor-0.4.5.ebuild,v 1.3 2008/08/10 15:12:30 jokey Exp $
inherit kde
@@ -14,3 +14,10 @@ KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
need-kde 3.3
+
+src_unpack() {
+ kde_src_unpack
+
+ # We need patch to build w/ gcc 4.3.1, see bug #227253
+ epatch "${FILESDIR}"/${P}-gcc43.patch
+}