summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Pagano <mpagano@gentoo.org>2008-12-31 21:01:17 +0000
committerMike Pagano <mpagano@gentoo.org>2008-12-31 21:01:17 +0000
commit9192cc0a9443b3c6f73eb5df58135da2ab8f082f (patch)
tree68a30e192128944e5af7859dff39b2a2f2b06e2b /dev-util/skelgen
parentStable on sparc, bug #224409 (diff)
downloadhistorical-9192cc0a9443b3c6f73eb5df58135da2ab8f082f.tar.gz
historical-9192cc0a9443b3c6f73eb5df58135da2ab8f082f.tar.bz2
historical-9192cc0a9443b3c6f73eb5df58135da2ab8f082f.zip
Fix for gcc 4.3 as per bug #251118 and die added.
Package-Manager: portage-2.2_rc20/cvs/Linux 2.6.28-gentoo i686
Diffstat (limited to 'dev-util/skelgen')
-rw-r--r--dev-util/skelgen/ChangeLog8
-rw-r--r--dev-util/skelgen/Manifest5
-rw-r--r--dev-util/skelgen/files/skelgen-1.2-gcc43.patch10
-rw-r--r--dev-util/skelgen/skelgen-1.2.ebuild12
4 files changed, 28 insertions, 7 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/Manifest b/dev-util/skelgen/Manifest
index 2d2c28228dce..099d7f095306 100644
--- a/dev-util/skelgen/Manifest
+++ b/dev-util/skelgen/Manifest
@@ -1,4 +1,5 @@
+AUX skelgen-1.2-gcc43.patch 447 RMD160 517931887e25864f79e817d511b809b6ff4c8b4e SHA1 61f4e31d70580174a478b1d1380430fbd5e06eb8 SHA256 25bc90b30c77f44af72d457d90ea9ae044deb32a9c8ff6c21c32c0abf96cf86d
DIST Fluid_Studios_Skeleton_Source_File_Generator-1.2.zip 218041 RMD160 dd0f4a7c1cc79ee816c39e4c9ff8f00fe93cdef8 SHA1 8830c8f16f2b4739a14bbc881240d0646b25b709 SHA256 6b502f4e9d171d00bc1f8f0147dd8adf75eb826a178c08bf5a5c8f7f839aff66
-EBUILD skelgen-1.2.ebuild 1010 RMD160 5bf955ec04489b443a972e223ae8867ffa0be822 SHA1 c1ad33ba1f3f9c1dde60e198ba2f5353235cccbb SHA256 599ec4084f0dd5d0beb4f395676e958513184fff74c4a8f1b1a0ffdadee7f099
-MISC ChangeLog 793 RMD160 64bb98fd3ebb386adb11041fc831ad2147f888ba SHA1 f8d613e2c848721b1e3014890684a76b4d5d699b SHA256 d5b756b465e5d34cb2d09b147b71bf37f80788e07a1651e949fd95446d835d27
+EBUILD skelgen-1.2.ebuild 1114 RMD160 964ce42a38ef7f9d0248bf8ed658b8e23d854d32 SHA1 8b3410ac9a7a4ad9be26f674ac5d894999dfa07d SHA256 ce412bb2dd910494c243a521f84440e97586d86ce36184cb0ceb4befb690a3cf
+MISC ChangeLog 949 RMD160 9bad8aabb6b8b0244e534fdd7d5a9d21a0ed8f1e SHA1 6f541849cbda0b86cb99e6c966f6c596e061fd58 SHA256 9cafc9e677a8b93426b6a89747c852cb5b9d138f8c94a4cc51fb3c6bc9f434a9
MISC metadata.xml 236 RMD160 92f49f8275e75caf57b88a3172d5204eaa4e33ae SHA1 dd1a8550a514e55ab0ed6190ab4794bb090994f8 SHA256 56075995f83836ae824c7cb01931b98d6745f6d5a7764299c8262e801486b829
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}}