summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2008-06-07 10:29:10 +0000
committerSamuli Suominen <drac@gentoo.org>2008-06-07 10:29:10 +0000
commit714a9fdefe6fb1813384914103e2a256c0b9f655 (patch)
treeeb0886bc41c1185705eff366d6e25e89de7f8fa6 /x11-misc/gmrun
parentAdded Live SVN ebuild for chango to p.mask (diff)
downloadgentoo-2-714a9fdefe6fb1813384914103e2a256c0b9f655.tar.gz
gentoo-2-714a9fdefe6fb1813384914103e2a256c0b9f655.tar.bz2
gentoo-2-714a9fdefe6fb1813384914103e2a256c0b9f655.zip
gcc43 fix, thanks to markus rothe
(Portage version: 2.1.5.4)
Diffstat (limited to 'x11-misc/gmrun')
-rw-r--r--x11-misc/gmrun/ChangeLog8
-rw-r--r--x11-misc/gmrun/files/gmrun-0.9.2-gcc43.patch40
-rw-r--r--x11-misc/gmrun/gmrun-0.9.2.ebuild7
3 files changed, 50 insertions, 5 deletions
diff --git a/x11-misc/gmrun/ChangeLog b/x11-misc/gmrun/ChangeLog
index 360ce499bd2c..7236edeb0807 100644
--- a/x11-misc/gmrun/ChangeLog
+++ b/x11-misc/gmrun/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-misc/gmrun
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/gmrun/ChangeLog,v 1.15 2007/02/03 12:54:10 nelchael Exp $
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/gmrun/ChangeLog,v 1.16 2008/06/07 10:29:10 drac Exp $
+
+ 07 Jun 2008; Samuli Suominen <drac@gentoo.org>
+ +files/gmrun-0.9.2-gcc43.patch, gmrun-0.9.2.ebuild:
+ GCC 4.3 patch from bug 220859, thanks to Markus Rothe.
03 Feb 2007; Krzysiek Pawlik <nelchael@gentoo.org> gmrun-0.9.2.ebuild:
Remove code to check for STLport, see bug #164339.
diff --git a/x11-misc/gmrun/files/gmrun-0.9.2-gcc43.patch b/x11-misc/gmrun/files/gmrun-0.9.2-gcc43.patch
new file mode 100644
index 000000000000..5be392201d6b
--- /dev/null
+++ b/x11-misc/gmrun/files/gmrun-0.9.2-gcc43.patch
@@ -0,0 +1,40 @@
+--- gmrun-0.9.2/src/gtkcompletionline.cc.orig 2003-11-16 11:55:07.000000000 +0100
++++ gmrun-0.9.2/src/gtkcompletionline.cc 2008-05-08 08:51:22.000000000 +0200
+@@ -29,6 +29,7 @@
+ #include <set>
+ #include <sstream>
+ #include <string>
++#include <cstring>
+ #include <vector>
+ using namespace std;
+
+--- gmrun-0.9.2/src/ci_string.h.orig 2001-05-16 16:39:31.000000000 +0200
++++ gmrun-0.9.2/src/ci_string.h 2008-05-08 08:51:33.000000000 +0200
+@@ -7,6 +7,7 @@
+ #define __CI_STRING_H__
+
+ #include <string>
++#include <cstring>
+ #include <ctype.h>
+
+ struct ci_char_traits : public std::char_traits<char>
+--- gmrun-0.9.2/src/prefs.cc.orig 2002-08-16 12:48:22.000000000 +0200
++++ gmrun-0.9.2/src/prefs.cc 2008-05-08 08:51:54.000000000 +0200
+@@ -13,6 +13,7 @@
+ #include <fstream>
+ #include <iostream>
+ #include <stdio.h>
++#include <stdlib.h>
+
+ #include <list>
+
+--- gmrun-0.9.2/src/main.cc.orig 2003-11-16 11:55:07.000000000 +0100
++++ gmrun-0.9.2/src/main.cc 2008-05-08 09:03:11.000000000 +0200
+@@ -14,6 +14,7 @@
+ #include <gdk/gdkkeysyms.h>
+
+ #include <string>
++#include <cstring>
+ #include <iostream>
+ #include <sstream>
+ #include <vector>
diff --git a/x11-misc/gmrun/gmrun-0.9.2.ebuild b/x11-misc/gmrun/gmrun-0.9.2.ebuild
index 1f95fa5857db..aa6856cde9d4 100644
--- a/x11-misc/gmrun/gmrun-0.9.2.ebuild
+++ b/x11-misc/gmrun/gmrun-0.9.2.ebuild
@@ -1,8 +1,8 @@
-# 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/x11-misc/gmrun/gmrun-0.9.2.ebuild,v 1.13 2007/02/03 12:54:10 nelchael Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/gmrun/gmrun-0.9.2.ebuild,v 1.14 2008/06/07 10:29:10 drac Exp $
-inherit autotools
+inherit autotools eutils
DESCRIPTION="A GTK-2 based launcher box with bash style auto completion!"
HOMEPAGE="http://www.bazon.net/mishoo/gmrun.epl"
@@ -21,6 +21,7 @@ DEPEND="${RDEPEND}
src_unpack() {
unpack ${A}
cd "${S}"
+ epatch "${FILESDIR}"/${P}-gcc43.patch
# Disable check for STLport due to bug #164339
sed -i -e 's,^AC_PATH_STLPORT,dnl REMOVED ,g' configure.in
sed -i -e 's,@STLPORT_[A-Z]\+@,,g' src/Makefile.am