diff options
author | Mike Pagano <mpagano@gentoo.org> | 2008-12-31 21:01:17 +0000 |
---|---|---|
committer | Mike Pagano <mpagano@gentoo.org> | 2008-12-31 21:01:17 +0000 |
commit | b5269e19ceb5295ee763d8330ecd6e09a3c71130 (patch) | |
tree | ccf9688b9228689b45ff80c57b1bded2c7be4206 /dev-util | |
parent | Stable on sparc, bug #224409 (diff) | |
download | gentoo-2-b5269e19ceb5295ee763d8330ecd6e09a3c71130.tar.gz gentoo-2-b5269e19ceb5295ee763d8330ecd6e09a3c71130.tar.bz2 gentoo-2-b5269e19ceb5295ee763d8330ecd6e09a3c71130.zip |
Fix for gcc 4.3 as per bug #251118 and die added.
(Portage version: 2.2_rc20/cvs/Linux 2.6.28-gentoo i686)
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/skelgen/ChangeLog | 8 | ||||
-rw-r--r-- | dev-util/skelgen/files/skelgen-1.2-gcc43.patch | 10 | ||||
-rw-r--r-- | dev-util/skelgen/skelgen-1.2.ebuild | 12 |
3 files changed, 25 insertions, 5 deletions
diff --git a/dev-util/skelgen/ChangeLog b/dev-util/skelgen/ChangeLog index 9873cd319102..e4fd9d719a7d 100644 --- a/dev-util/skelgen/ChangeLog +++ b/dev-util/skelgen/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-util/skelgen -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/skelgen/ChangeLog,v 1.5 2007/12/25 15:59:49 phreak Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/skelgen/ChangeLog,v 1.6 2008/12/31 21:01:17 mpagano Exp $ + + 31 Dec 2008; Mike Pagano <mpagano@gentoo.org> + +files/skelgen-1.2-gcc43.patch, skelgen-1.2.ebuild: + Fix for gcc 4.3 as per bug #251118 and die added. 25 Dec 2007; Christian Heim <phreak@gentoo.org> metadata.xml: Removing taviso from metadata.xml as per #202471. Assigning to diff --git a/dev-util/skelgen/files/skelgen-1.2-gcc43.patch b/dev-util/skelgen/files/skelgen-1.2-gcc43.patch new file mode 100644 index 000000000000..3c65fda3a72a --- /dev/null +++ b/dev-util/skelgen/files/skelgen-1.2-gcc43.patch @@ -0,0 +1,10 @@ +--- template.cpp.orig 2000-12-23 00:00:04.000000000 -0500 ++++ template.cpp 2008-12-31 15:52:51.000000000 -0500 +@@ -31,6 +31,7 @@ + // --------------------------------------------------------------------------------------------------------------------------------
+
+ #include "skelgen.h"
++#include "string.h" + + // -------------------------------------------------------------------------------------------------------------------------------- + diff --git a/dev-util/skelgen/skelgen-1.2.ebuild b/dev-util/skelgen/skelgen-1.2.ebuild index c8307b4435e9..ccfec10134fc 100644 --- a/dev-util/skelgen/skelgen-1.2.ebuild +++ b/dev-util/skelgen/skelgen-1.2.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/skelgen/skelgen-1.2.ebuild,v 1.4 2005/12/13 17:23:37 taviso Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/skelgen/skelgen-1.2.ebuild,v 1.5 2008/12/31 21:01:17 mpagano Exp $ inherit eutils flag-o-matic toolchain-funcs @@ -15,6 +15,12 @@ DEPEND="app-arch/unzip" RDEPEND="" S=${WORKDIR}/source +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-gcc43.patch +} + src_compile() { # Makefile uses $STRIPPER to strip executable, so use true # instead and let portage handle that. @@ -25,7 +31,7 @@ src_compile() { } src_install() { - dobin skelgen + dobin skelgen || die "dobin failed" dodoc readme.txt dodoc macros/{common.macro,personal.macro,work.macro} dodoc templates/{default.{cpp,h},fluid.{cpp,h},gpl.{c,h},skelgen.{cpp,h}} |