diff options
author | Ryan Hill <dirtyepic@gentoo.org> | 2006-12-28 04:43:24 +0000 |
---|---|---|
committer | Ryan Hill <dirtyepic@gentoo.org> | 2006-12-28 04:43:24 +0000 |
commit | 2192e372e13f4064297df1d95fd3ca8e43ad1961 (patch) | |
tree | 00b2de83f360ad9dfa80eb2801c5c4382223065a /x11-plugins/gkrellmitime | |
parent | Fixed dependencies, see bug #130573. (diff) | |
download | gentoo-2-2192e372e13f4064297df1d95fd3ca8e43ad1961.tar.gz gentoo-2-2192e372e13f4064297df1d95fd3ca8e43ad1961.tar.bz2 gentoo-2-2192e372e13f4064297df1d95fd3ca8e43ad1961.zip |
Fix building with GCC-4.1, thanks to Talamona Francesco in bug #137925.
(Portage version: 2.1.2_rc4-r1)
Diffstat (limited to 'x11-plugins/gkrellmitime')
4 files changed, 37 insertions, 6 deletions
diff --git a/x11-plugins/gkrellmitime/ChangeLog b/x11-plugins/gkrellmitime/ChangeLog index 5af327e3d04f..f3543cf45f26 100644 --- a/x11-plugins/gkrellmitime/ChangeLog +++ b/x11-plugins/gkrellmitime/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for x11-plugins/gkrellmitime -# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellmitime/ChangeLog,v 1.16 2005/05/06 00:20:13 swegener Exp $ +# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellmitime/ChangeLog,v 1.17 2006/12/28 04:43:24 dirtyepic Exp $ + + 28 Dec 2006; Ryan Hill <dirtyepic@gentoo.org> + +files/gkrellmitime-1.0.1-Makefile.patch, gkrellmitime-1.0.1.ebuild: + Fix building with GCC-4.1, thanks to Talamona Francesco in bug #137925. 06 May 2005; Sven Wegener <swegener@gentoo.org> gkrellmitime-1.0.ebuild, gkrellmitime-1.0.1.ebuild: diff --git a/x11-plugins/gkrellmitime/files/digest-gkrellmitime-1.0.1 b/x11-plugins/gkrellmitime/files/digest-gkrellmitime-1.0.1 index 738d090b110f..2944b1838fd1 100644 --- a/x11-plugins/gkrellmitime/files/digest-gkrellmitime-1.0.1 +++ b/x11-plugins/gkrellmitime/files/digest-gkrellmitime-1.0.1 @@ -1 +1,3 @@ MD5 3b61d4d855943af853db146b913c73f9 gkrellmitime-1.0.1.tar.gz 12306 +RMD160 ea8a9b05b8f09e5c0ddc9c4487d23454b955b6be gkrellmitime-1.0.1.tar.gz 12306 +SHA256 2f7d542bb98fc55a20eabfe4f64d606b963d031fbb63d4b18a17194cb17deea5 gkrellmitime-1.0.1.tar.gz 12306 diff --git a/x11-plugins/gkrellmitime/files/gkrellmitime-1.0.1-Makefile.patch b/x11-plugins/gkrellmitime/files/gkrellmitime-1.0.1-Makefile.patch new file mode 100644 index 000000000000..f2fe5eb0bb0d --- /dev/null +++ b/x11-plugins/gkrellmitime/files/gkrellmitime-1.0.1-Makefile.patch @@ -0,0 +1,24 @@ +diff -Naur gkrellmitime-1.0.1-orig/Makefile gkrellmitime-1.0.1/Makefile +--- gkrellmitime-1.0.1-orig/Makefile 2006-12-27 22:35:28.000000000 -0600 ++++ gkrellmitime-1.0.1/Makefile 2006-12-27 22:35:45.000000000 -0600 +@@ -3,7 +3,7 @@ + + CC = gcc + CFLAGS = -Wall -Wimplicit -Wreturn-type -Wunused -Wswitch \ +- -Wcomment-Wparentheses -Wtraditional -Wpointer-arith \ ++ -Wcomment -Wparentheses -Wtraditional -Wpointer-arith \ + -Wmissing-prototypes -O2 -fPIC -I$(INCLUDE) \ + `pkg-config gtk+-2.0 --cflags` + LDFLAGS = +diff -Naur gkrellmitime-1.0.1-orig/Makefile.macosx gkrellmitime-1.0.1/Makefile.macosx +--- gkrellmitime-1.0.1-orig/Makefile.macosx 2006-12-27 22:35:28.000000000 -0600 ++++ gkrellmitime-1.0.1/Makefile.macosx 2006-12-27 22:36:11.000000000 -0600 +@@ -3,7 +3,7 @@ + + CC = gcc + CFLAGS = -Wall -Wimplicit -Wreturn-type -Wunused -Wswitch \ +- -Wcomment-Wparentheses -Wtraditional -Wpointer-arith \ ++ -Wcomment -Wparentheses -Wtraditional -Wpointer-arith \ + -Wmissing-prototypes -O2 -fPIC -I$(INCLUDE) \ + `pkg-config gtk+-2.0 --cflags` + LDFLAGS = diff --git a/x11-plugins/gkrellmitime/gkrellmitime-1.0.1.ebuild b/x11-plugins/gkrellmitime/gkrellmitime-1.0.1.ebuild index dfcaa925d6de..325c6389648a 100644 --- a/x11-plugins/gkrellmitime/gkrellmitime-1.0.1.ebuild +++ b/x11-plugins/gkrellmitime/gkrellmitime-1.0.1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellmitime/gkrellmitime-1.0.1.ebuild,v 1.11 2005/05/06 00:20:13 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellmitime/gkrellmitime-1.0.1.ebuild,v 1.12 2006/12/28 04:43:24 dirtyepic Exp $ -inherit multilib +inherit multilib eutils IUSE="" DESCRIPTION="Internet Time plugin for Gkrellm2" @@ -16,7 +16,8 @@ KEYWORDS="x86 ppc sparc alpha amd64" DEPEND=">=app-admin/gkrellm-2" src_compile() { - make || die + epatch "${FILESDIR}"/${P}-Makefile.patch + emake || die "emake failed" } src_install() { |