diff --git a/srcpkgs/gmrun/patches/00_gcc43_fix.patch b/srcpkgs/gmrun/patches/00_gcc43_fix.patch new file mode 100644 index 00000000000..6f79591f69d --- /dev/null +++ b/srcpkgs/gmrun/patches/00_gcc43_fix.patch @@ -0,0 +1,51 @@ +--- src/gtkcompletionline.cc.orig 2003-11-16 11:55:07.000000000 +0100 ++++ src/gtkcompletionline.cc 2008-05-08 08:51:22.000000000 +0200 +@@ -29,6 +29,7 @@ + #include + #include + #include ++#include + #include + using namespace std; + +--- src/ci_string.h.orig 2001-05-16 16:39:31.000000000 +0200 ++++ src/ci_string.h 2008-05-08 08:51:33.000000000 +0200 +@@ -7,6 +7,7 @@ + #define __CI_STRING_H__ + + #include ++#include + #include + + struct ci_char_traits : public std::char_traits +--- src/prefs.cc.orig 2002-08-16 12:48:22.000000000 +0200 ++++ src/prefs.cc 2008-05-08 08:51:54.000000000 +0200 +@@ -13,6 +13,7 @@ + #include + #include + #include ++#include + + #include + +--- src/main.cc.orig 2003-11-16 11:55:07.000000000 +0100 ++++ src/main.cc 2008-05-08 09:03:11.000000000 +0200 +@@ -14,6 +14,7 @@ + #include + + #include ++#include + #include + #include + #include + +--- src/gtkcompletionline.cc.orig 2009-06-19 22:38:14.000000000 +0400 ++++ src/gtkcompletionline.cc 2009-06-19 22:37:14.000000000 +0400 +@@ -376,7 +377,7 @@ + return 0; + } + +-int my_alphasort(const void* va, const void* vb) { ++int my_alphasort(const dirent** va, const dirent** vb) { + const struct dirent** a = (const struct dirent**)va; + const struct dirent** b = (const struct dirent**)vb; diff --git a/srcpkgs/gmrun/template b/srcpkgs/gmrun/template new file mode 100644 index 00000000000..aec3501dc9e --- /dev/null +++ b/srcpkgs/gmrun/template @@ -0,0 +1,19 @@ +# Template file for 'gmrun' +pkgname=gmrun +version=0.9.2 +revision=1 +build_style=gnu-configure +makedepends="gtk+-devel glib-devel pkg-config popt-devel" +hostmakedepends="pkg-config" +depends="gtk+ popt" +short_desc="A simple program which provides an X 'run program' window" +maintainer="bougyman " +license="GPL-2" +homepage="http://sf.net/projects/gmrun" +distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" +checksum=17297bce53249ccc7145931db22251b47f77ac355f78cf8abf1e87ae16341fa0 + +post_install() { + vlicense COPYING + vdoc README +}