summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2005-09-19 18:30:50 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2005-09-19 18:30:50 +0000
commit4fcb7e01c47651104caa7770ddef9d81c9c1eab7 (patch)
tree56a89d307a17806a96665cf235f6378e7dfa1ace /games-puzzle/gweled
parentStable on ppc64 (bug #102373) (diff)
downloadhistorical-4fcb7e01c47651104caa7770ddef9d81c9c1eab7.tar.gz
historical-4fcb7e01c47651104caa7770ddef9d81c9c1eab7.tar.bz2
historical-4fcb7e01c47651104caa7770ddef9d81c9c1eab7.zip
Added patch from Halcy0n for GCC 4.
Package-Manager: portage-2.0.52-r1
Diffstat (limited to 'games-puzzle/gweled')
-rw-r--r--games-puzzle/gweled/ChangeLog6
-rw-r--r--games-puzzle/gweled/Manifest5
-rw-r--r--games-puzzle/gweled/files/gweled-0.6-gcc4.patch21
-rw-r--r--games-puzzle/gweled/gweled-0.6.ebuild11
4 files changed, 38 insertions, 5 deletions
diff --git a/games-puzzle/gweled/ChangeLog b/games-puzzle/gweled/ChangeLog
index f8a595b1bc7e..feb5f98d6f68 100644
--- a/games-puzzle/gweled/ChangeLog
+++ b/games-puzzle/gweled/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-puzzle/gweled
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/gweled/ChangeLog,v 1.6 2005/01/27 21:20:44 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/gweled/ChangeLog,v 1.7 2005/09/19 18:30:50 wolf31o2 Exp $
+
+ 19 Sep 2005; Chris Gianelloni <wolf31o2@gentoo.org>
+ +files/gweled-0.6-gcc4.patch, gweled-0.6.ebuild:
+ Added patch from Halcy0n for GCC 4.
*gweled-0.6 (27 Jan 2005)
diff --git a/games-puzzle/gweled/Manifest b/games-puzzle/gweled/Manifest
index 3c3629b3ca0b..a7528d5ba712 100644
--- a/games-puzzle/gweled/Manifest
+++ b/games-puzzle/gweled/Manifest
@@ -1,8 +1,9 @@
MD5 326fc19ee8d32160018540cf3d3a60c3 gweled-0.4.ebuild 721
-MD5 cc9aa18c3f9fc2303e3d9ddd12927e32 gweled-0.6.ebuild 828
+MD5 dcffa8a7309b63e7733073ebee65bcc7 gweled-0.6.ebuild 957
MD5 c60d2789cd844727a891112ce2d6db92 gweled-0.5.ebuild 726
-MD5 c48d66c98f468196a359daca2ed51a3c ChangeLog 904
+MD5 dfaf16378cd1bcc4ea4cf9ded6cc8454 ChangeLog 1048
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
MD5 a4fbb50390d654d9e85605cd9a58e25c files/digest-gweled-0.4 62
MD5 4ac980331dfa45132b1ec6537e2f0e6e files/digest-gweled-0.5 62
MD5 5af7c8192f3665a045ea1192d79944aa files/digest-gweled-0.6 62
+MD5 433c46dc8caa7c025f830687907a1d5f files/gweled-0.6-gcc4.patch 734
diff --git a/games-puzzle/gweled/files/gweled-0.6-gcc4.patch b/games-puzzle/gweled/files/gweled-0.6-gcc4.patch
new file mode 100644
index 000000000000..70fccb05fedf
--- /dev/null
+++ b/games-puzzle/gweled/files/gweled-0.6-gcc4.patch
@@ -0,0 +1,21 @@
+diff -ur gweled-0.6-orig/src/sge_core.c gweled-0.6/src/sge_core.c
+--- gweled-0.6-orig/src/sge_core.c 2005-09-13 10:47:05.000000000 -0400
++++ gweled-0.6/src/sge_core.c 2005-09-13 10:54:45.000000000 -0400
+@@ -83,7 +83,7 @@
+ ((T_SGEObject *) object)->
+ height);
+
+- (int) ((T_SGEObject *) object)->needs_drawing = 0;
++ ((T_SGEObject *) object)->needs_drawing = 0;
+
+ invalidate_objects_above ((T_SGEObject *) object);
+ }
+@@ -99,7 +99,7 @@
+ ((T_SGEObject *) object)->vx;
+ ((T_SGEObject *) object)->y +=
+ ((T_SGEObject *) object)->vy;
+- (int) ((T_SGEObject *) object)->needs_drawing |= 0x02;
++ ((T_SGEObject *) object)->needs_drawing |= 0x02;
+ }
+
+ if (((T_SGEObject *) object)->stop_condition)
diff --git a/games-puzzle/gweled/gweled-0.6.ebuild b/games-puzzle/gweled/gweled-0.6.ebuild
index a014e3db9e8f..54d1c16837ad 100644
--- a/games-puzzle/gweled/gweled-0.6.ebuild
+++ b/games-puzzle/gweled/gweled-0.6.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/gweled/gweled-0.6.ebuild,v 1.1 2005/01/27 21:20:45 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/gweled/gweled-0.6.ebuild,v 1.2 2005/09/19 18:30:50 wolf31o2 Exp $
-inherit flag-o-matic
+inherit eutils flag-o-matic games
DESCRIPTION="Bejeweled clone game"
HOMEPAGE="http://sebdelestaing.free.fr/gweled/"
@@ -17,6 +17,12 @@ DEPEND=">=x11-libs/gtk+-2
>=gnome-base/librsvg-2
>=gnome-base/libgnomeui-2"
+src_unpack() {
+ unpack ${A}
+ # Adding gcc4 patch from halcy0n
+ epatch ${FILESDIR}/${P}-gcc4.patch
+}
+
src_compile() {
filter-flags -fomit-frame-pointer
econf || die "econf failed"
@@ -30,4 +36,5 @@ src_compile() {
src_install() {
make DESTDIR="${D}" install || die "make install failed"
dodoc AUTHORS NEWS
+ prepgamesdirs
}