diff options
author | Peter Alfredsen <loki_val@gentoo.org> | 2009-02-15 21:20:46 +0000 |
---|---|---|
committer | Peter Alfredsen <loki_val@gentoo.org> | 2009-02-15 21:20:46 +0000 |
commit | 70c830c58a805013c8771aaa970f00e7cefd3cb1 (patch) | |
tree | e302a15c963f783c9cf64aab12c401a7dda46da5 | |
parent | Bump to 5.5.0. With thanks to idl0r for the ebuild improvements. (diff) | |
download | gentoo-2-70c830c58a805013c8771aaa970f00e7cefd3cb1.tar.gz gentoo-2-70c830c58a805013c8771aaa970f00e7cefd3cb1.tar.bz2 gentoo-2-70c830c58a805013c8771aaa970f00e7cefd3cb1.zip |
Add gcc-4.3 patch per bug 254960. Thanks to Gene Seto <geneseto@hotmail.com> for the patch.
(Portage version: 2.2_rc23/cvs/Linux x86_64)
-rw-r--r-- | app-misc/glcdprocdriver/ChangeLog | 10 | ||||
-rw-r--r-- | app-misc/glcdprocdriver/files/glcdprocdriver-gcc43.patch | 15 | ||||
-rw-r--r-- | app-misc/glcdprocdriver/glcdprocdriver-0.0.3-r2.ebuild | 5 | ||||
-rw-r--r-- | app-misc/glcdprocdriver/glcdprocdriver-0.0.4.ebuild | 12 |
4 files changed, 35 insertions, 7 deletions
diff --git a/app-misc/glcdprocdriver/ChangeLog b/app-misc/glcdprocdriver/ChangeLog index 600160447569..ef9b799a954c 100644 --- a/app-misc/glcdprocdriver/ChangeLog +++ b/app-misc/glcdprocdriver/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-misc/glcdprocdriver -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/glcdprocdriver/ChangeLog,v 1.9 2008/02/21 23:54:30 robbat2 Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/glcdprocdriver/ChangeLog,v 1.10 2009/02/15 21:20:46 loki_val Exp $ + + 15 Feb 2009; Peter Alfredsen <loki_val@gentoo.org> + +files/glcdprocdriver-gcc43.patch, glcdprocdriver-0.0.3-r2.ebuild, + glcdprocdriver-0.0.4.ebuild: + Add gcc-4.3 patch per bug 254960. Thanks to Gene Seto + <geneseto@hotmail.com> for the patch. 21 Feb 2008; Robin H. Johnson <robbat2@gentoo.org> glcdprocdriver-0.0.4.ebuild: diff --git a/app-misc/glcdprocdriver/files/glcdprocdriver-gcc43.patch b/app-misc/glcdprocdriver/files/glcdprocdriver-gcc43.patch new file mode 100644 index 000000000000..8f9fc27a75b9 --- /dev/null +++ b/app-misc/glcdprocdriver/files/glcdprocdriver-gcc43.patch @@ -0,0 +1,15 @@ +--- glcdprocdriver-0.0.4a/glcddriver.c 2007-04-17 19:05:54.000000000 -0300 ++++ glcdprocdriver-0.0.4/glcddriver.c 2009-01-17 14:49:39.000000000 -0400 +@@ -4,11 +4,11 @@ + * + * (c) 2005 Lucian Muresan <lucianm AT users.sourceforge.net> + */ ++#include <stdlib.h> + #include <syslog.h> + #include "glcddriver.h" + #include "icons.h" + +- + /* + * + * The following icon IDs are taken from lcdproc/drivers/lcd.h diff --git a/app-misc/glcdprocdriver/glcdprocdriver-0.0.3-r2.ebuild b/app-misc/glcdprocdriver/glcdprocdriver-0.0.3-r2.ebuild index e24a3acac9fb..cab66d97064c 100644 --- a/app-misc/glcdprocdriver/glcdprocdriver-0.0.3-r2.ebuild +++ b/app-misc/glcdprocdriver/glcdprocdriver-0.0.3-r2.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/glcdprocdriver/glcdprocdriver-0.0.3-r2.ebuild,v 1.3 2007/04/11 14:26:20 welp Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/glcdprocdriver/glcdprocdriver-0.0.3-r2.ebuild,v 1.4 2009/02/15 21:20:46 loki_val Exp $ inherit eutils multilib toolchain-funcs @@ -22,6 +22,7 @@ src_unpack() unpack ${A} cd "${S}" epatch "${FILESDIR}/${P}-makefile.patch" + epatch "${FILESDIR}/${PN}-gcc43.patch" } src_compile() { diff --git a/app-misc/glcdprocdriver/glcdprocdriver-0.0.4.ebuild b/app-misc/glcdprocdriver/glcdprocdriver-0.0.4.ebuild index d79cee1f9e1c..1f927ce44f05 100644 --- a/app-misc/glcdprocdriver/glcdprocdriver-0.0.4.ebuild +++ b/app-misc/glcdprocdriver/glcdprocdriver-0.0.4.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/glcdprocdriver/glcdprocdriver-0.0.4.ebuild,v 1.2 2008/02/21 23:54:30 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/glcdprocdriver/glcdprocdriver-0.0.4.ebuild,v 1.3 2009/02/15 21:20:46 loki_val Exp $ -inherit multilib toolchain-funcs +inherit multilib toolchain-funcs eutils DESCRIPTION="Glue library for the glcdlib LCDproc driver based on GraphLCD" HOMEPAGE="http://www.muresan.de/graphlcd/lcdproc/" @@ -17,6 +17,12 @@ RDEPEND=${DEPEND} IUSE="" +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${PN}-gcc43.patch" +} + src_compile() { emake LDFLAGS="${LDFLAGS}" CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" || die } |