summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2011-04-21 07:30:41 +0000
committerAlfredo Tupone <tupone@gentoo.org>2011-04-21 07:30:41 +0000
commit980ff319c0afc835336e0c4e4ac7f10b52c52388 (patch)
tree8b133ee800bb6bfe5f34bff809c9aed08d71c422 /games-arcade/methane
parentx86 stable per bug 364191 (diff)
downloadhistorical-980ff319c0afc835336e0c4e4ac7f10b52c52388.tar.gz
historical-980ff319c0afc835336e0c4e4ac7f10b52c52388.tar.bz2
historical-980ff319c0afc835336e0c4e4ac7f10b52c52388.zip
Build with gcc-4.6 Bug #362381
Enabling parallell compilation Package-Manager: portage-2.1.9.46/cvs/Linux i686
Diffstat (limited to 'games-arcade/methane')
-rw-r--r--games-arcade/methane/ChangeLog9
-rw-r--r--games-arcade/methane/Manifest15
-rw-r--r--games-arcade/methane/files/methane-1.4.8-gcc46.patch10
-rw-r--r--games-arcade/methane/methane-1.4.8.ebuild11
4 files changed, 36 insertions, 9 deletions
diff --git a/games-arcade/methane/ChangeLog b/games-arcade/methane/ChangeLog
index b4b9967dbd79..f96a2de8ac4b 100644
--- a/games-arcade/methane/ChangeLog
+++ b/games-arcade/methane/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-arcade/methane
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/methane/ChangeLog,v 1.17 2010/10/01 05:00:17 tupone Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/methane/ChangeLog,v 1.18 2011/04/21 07:30:41 tupone Exp $
+
+ 21 Apr 2011; Tupone Alfredo <tupone@gentoo.org> methane-1.4.8.ebuild,
+ +files/methane-1.4.8-gcc46.patch:
+ Build with gcc-4.6 Bug #362381 by Diego Elio Pettenò
+ Enabling parallell compilation
01 Oct 2010; Tupone Alfredo <tupone@gentoo.org> methane-1.4.8.ebuild,
+files/methane-1.4.8-ldflags.patch:
diff --git a/games-arcade/methane/Manifest b/games-arcade/methane/Manifest
index b55826ffa9ab..3fb08a7c9541 100644
--- a/games-arcade/methane/Manifest
+++ b/games-arcade/methane/Manifest
@@ -1,5 +1,16 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX methane-1.4.8-gcc46.patch 245 RMD160 f617748dcdeade930b4be0cd23008b59d65aa03e SHA1 db1ddb4520c2fe2e3e8aa34055167202ad49ec4a SHA256 40e4b3a709a2043f394e33e5eef5f64624ae2d6b9f66d792d6647d5fdd0beb42
AUX methane-1.4.8-ldflags.patch 1080 RMD160 53f65bd0d7f56e9927f9816b4bf868a90b33f70d SHA1 4694be0cd4ba77e21efa7d521ce8837c9d4f4416 SHA256 61f21cfee4d8493f8663e8c04fd0e389bb5b39803f7842b6e0b420a5cfd297da
DIST methane-1.4.8.tgz 1063099 RMD160 0edb0328515b90cac66e13a3900fb4712ed0f940 SHA1 8deb3c5278b30d1eb3911a39c59af0ea8b8f8f06 SHA256 7e91d0b478b133a74565f0a7a01783cdda20bd555ca92feb4da66e51b51a9289
-EBUILD methane-1.4.8.ebuild 1291 RMD160 09a768d47e35230b48a62bef7288081e6e8b78ed SHA1 dd4e89f28b5efe9b2ce2b9824314712e3e746fd6 SHA256 04869576c09b39131bd73a4b156742a7e683bd30550483b4e205c7e6deb7c9f3
-MISC ChangeLog 2115 RMD160 897d5a2f555b5f47364ca0ee008443df45a2a4a7 SHA1 2370c5870df322d1b2fae4704e688ba816a560ac SHA256 13e00b8a04c882c1bcb68d8b6aee18f09c827bba390c51db365f9c9adc2af501
+EBUILD methane-1.4.8.ebuild 1314 RMD160 86c438318c35dc355b5754ec6a76dd26dc71fc9b SHA1 1cf98edb4d93d19d5d469a02a917b67695a41b85 SHA256 00913c5e48c97a4f2d784fb5ee860e771a5a6a2292004c27488c40b6835df431
+MISC ChangeLog 2313 RMD160 ea02530c38adafdc8cf224a5d671054156220edb SHA1 f37cf84eb6bd2f61695785918cffda187ef013a5 SHA256 963ae5b107b91b36676a94b5b5ffc9a7e5ea181de2a7f293d5cacb6df2ec1525
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iEYEARECAAYFAk2v3SsACgkQIY77eQFFFC1DNQCfZHqDPMaVdbmgODVZLytj3vfP
+4mAAn2M4Et5g/h8kuFK9XriYTbSoxRM5
+=zZRd
+-----END PGP SIGNATURE-----
diff --git a/games-arcade/methane/files/methane-1.4.8-gcc46.patch b/games-arcade/methane/files/methane-1.4.8-gcc46.patch
new file mode 100644
index 000000000000..cd8ab12da977
--- /dev/null
+++ b/games-arcade/methane/files/methane-1.4.8-gcc46.patch
@@ -0,0 +1,10 @@
+--- source/global.h.old 2011-04-21 08:36:56.986592821 +0200
++++ source/global.h 2011-04-21 08:37:51.575981236 +0200
+@@ -17,6 +17,7 @@
+ #ifndef _global_h
+ #define _global_h 1
+
++#include <cstddef>
+ #ifndef _METH_RC
+
+ #ifndef METHANE_OLD_CPP_NEW
diff --git a/games-arcade/methane/methane-1.4.8.ebuild b/games-arcade/methane/methane-1.4.8.ebuild
index 6034ba066b48..be32c13a3aa8 100644
--- a/games-arcade/methane/methane-1.4.8.ebuild
+++ b/games-arcade/methane/methane-1.4.8.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/methane/methane-1.4.8.ebuild,v 1.7 2010/10/01 05:00:17 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/methane/methane-1.4.8.ebuild,v 1.8 2011/04/21 07:30:41 tupone Exp $
EAPI=2
inherit eutils games
@@ -28,13 +28,14 @@ src_prepare() {
fi
sed -i \
-e "s:/var/games:${GAMES_STATEDIR}:" \
- source/linux/doc.cpp history \
+ source/linux/doc.cpp \
|| die "sed failed"
- epatch "${FILESDIR}"/${P}-ldflags.patch
+ epatch "${FILESDIR}"/${P}-ldflags.patch \
+ "${FILESDIR}"/${P}-gcc46.patch
}
src_compile() {
- emake -C source/linux -j1 || die "emake failed"
+ emake -C source/linux || die "emake failed"
}
src_install() {