diff options
author | Wulf Krueger <philantrop@gentoo.org> | 2008-04-21 19:20:43 +0000 |
---|---|---|
committer | Wulf Krueger <philantrop@gentoo.org> | 2008-04-21 19:20:43 +0000 |
commit | 096d9f15ba5621e28d6c32c9accd93f08d361701 (patch) | |
tree | 0f503f75ca40f568e97253ea8b72d260b2152501 /app-portage | |
parent | Fix up metadata.xml. If there's no maintainer for the package, the metadata a... (diff) | |
download | gentoo-2-096d9f15ba5621e28d6c32c9accd93f08d361701.tar.gz gentoo-2-096d9f15ba5621e28d6c32c9accd93f08d361701.tar.bz2 gentoo-2-096d9f15ba5621e28d6c32c9accd93f08d361701.zip |
Added a patch for gcc 4.3 compatibility as kindly provided by Nikos Chantziaras on bug 217877. Marked stable on amd64.
(Portage version: 2.1.5_rc5)
Diffstat (limited to 'app-portage')
-rw-r--r-- | app-portage/kuroo/ChangeLog | 7 | ||||
-rw-r--r-- | app-portage/kuroo/files/kuroo-0.81_rc1-gcc43.patch | 37 | ||||
-rw-r--r-- | app-portage/kuroo/kuroo-0.81_rc1.ebuild | 6 |
3 files changed, 47 insertions, 3 deletions
diff --git a/app-portage/kuroo/ChangeLog b/app-portage/kuroo/ChangeLog index 797f5b48e930..cc4bc9746570 100644 --- a/app-portage/kuroo/ChangeLog +++ b/app-portage/kuroo/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-portage/kuroo # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/kuroo/ChangeLog,v 1.24 2008/02/19 01:31:11 ingmar Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-portage/kuroo/ChangeLog,v 1.25 2008/04/21 19:20:42 philantrop Exp $ + + 21 Apr 2008; Wulf C. Krueger <philantrop@gentoo.org> + +files/kuroo-0.81_rc1-gcc43.patch, kuroo-0.81_rc1.ebuild: + Added a patch for gcc 4.3 compatibility as kindly provided by Nikos + Chantziaras on bug 217877. Marked stable on amd64. 19 Feb 2008; Ingmar Vanhassel <ingmar@gentoo.org> kuroo-0.80.2-r1.ebuild, kuroo-0.81_rc1.ebuild: diff --git a/app-portage/kuroo/files/kuroo-0.81_rc1-gcc43.patch b/app-portage/kuroo/files/kuroo-0.81_rc1-gcc43.patch new file mode 100644 index 000000000000..46479c77ef2c --- /dev/null +++ b/app-portage/kuroo/files/kuroo-0.81_rc1-gcc43.patch @@ -0,0 +1,37 @@ +Kuroo 0.81_rc1 forgets to #include <stdlib.h> in some places and failes to +build with GCC 4.3. + +diff -Naur kuroo-0.81_rc1/src/core/portagedb.cpp kuroo-0.81_rc1-r1/src/core/portagedb.cpp +--- kuroo-0.81_rc1/src/core/portagedb.cpp 2007-08-31 03:57:39.000000000 +0300 ++++ kuroo-0.81_rc1-r1/src/core/portagedb.cpp 2008-04-16 00:02:49.000000000 +0300 +@@ -23,6 +23,7 @@ + #include <math.h> //DbConnection::sqlite_power() + #include <time.h> //query() + #include <unistd.h> //usleep() ++#include <stdlib.h> //RAND_MAX + #include <grp.h> + #include <pwd.h> + +diff -Naur kuroo-0.81_rc1/src/kurooinit.cpp kuroo-0.81_rc1-r1/src/kurooinit.cpp +--- kuroo-0.81_rc1/src/kurooinit.cpp 2007-08-31 03:57:39.000000000 +0300 ++++ kuroo-0.81_rc1-r1/src/kurooinit.cpp 2008-04-16 00:05:59.000000000 +0300 +@@ -22,6 +22,7 @@ + #include "kurooinit.h" + #include "introdlg.h" + ++#include <stdlib.h> + #include <sys/stat.h> + #include <grp.h> + #include <pwd.h> +diff -Naur kuroo-0.81_rc1/src/main.cpp kuroo-0.81_rc1-r1/src/main.cpp +--- kuroo-0.81_rc1/src/main.cpp 2007-08-31 05:02:19.000000000 +0300 ++++ kuroo-0.81_rc1-r1/src/main.cpp 2008-04-16 00:05:48.000000000 +0300 +@@ -21,6 +21,8 @@ + #include "settings.h" + #include "kuroo.h" + ++#include <stdlib.h> ++ + #include <kapplication.h> + #include <dcopclient.h> + #include <kaboutdata.h> diff --git a/app-portage/kuroo/kuroo-0.81_rc1.ebuild b/app-portage/kuroo/kuroo-0.81_rc1.ebuild index ac58d820b0dd..e4162f4e126f 100644 --- a/app-portage/kuroo/kuroo-0.81_rc1.ebuild +++ b/app-portage/kuroo/kuroo-0.81_rc1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/kuroo/kuroo-0.81_rc1.ebuild,v 1.2 2008/02/19 01:31:11 ingmar Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-portage/kuroo/kuroo-0.81_rc1.ebuild,v 1.3 2008/04/21 19:20:42 philantrop Exp $ inherit kde eutils @@ -10,7 +10,7 @@ SRC_URI="http://files.kuroo.org/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~ppc ~sparc ~x86" +KEYWORDS="amd64 ~ppc ~sparc ~x86" IUSE="" RDEPEND=">=app-portage/gentoolkit-0.2.3-r1 @@ -19,3 +19,5 @@ RDEPEND=">=app-portage/gentoolkit-0.2.3-r1 || ( =kde-base/kdesu-3.5* =kde-base/kdebase-3.5* )" need-kde 3.5 + +PATCHES=( "${FILESDIR}/${P}-gcc43.patch" ) |