added amd64 specific patch (#48948)
authorAlastair Tse <liquidx@gentoo.org>
Sun, 17 Oct 2004 19:36:26 +0000 (19:36 +0000)
committerAlastair Tse <liquidx@gentoo.org>
Sun, 17 Oct 2004 19:36:26 +0000 (19:36 +0000)
gnome-extra/gnome-games/ChangeLog
gnome-extra/gnome-games/files/gnome-games-2.6.2-amd64.patch [new file with mode: 0644]
gnome-extra/gnome-games/gnome-games-2.6.2.ebuild

index 9aea517ca7e9dc61cf73ac766874a91d7c70e7c7..cffd655918315e14217c1b61447793473c1ed6d0 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for gnome-extra/gnome-games
 # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-games/ChangeLog,v 1.78 2004/10/11 23:14:33 foser Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-games/ChangeLog,v 1.79 2004/10/17 19:36:26 liquidx Exp $
+
+  17 Oct 2004; Alastair Tse <liquidx@gentoo.org>
+  +files/gnome-games-2.6.2-amd64.patch, gnome-games-2.6.2.ebuild:
+  added amd64 specific patch (#48948)
 
 *gnome-games-2.8.1 (12 Oct 2004)
 
diff --git a/gnome-extra/gnome-games/files/gnome-games-2.6.2-amd64.patch b/gnome-extra/gnome-games/files/gnome-games-2.6.2-amd64.patch
new file mode 100644 (file)
index 0000000..900afe5
--- /dev/null
@@ -0,0 +1,52 @@
+diff -ru gnome-games-2.6.2/gnometris/blockops.cpp /tmp/gnome-games-2.6.2/gnometris/blockops.cpp
+--- gnome-games-2.6.2/gnometris/blockops.cpp   2003-05-31 20:01:34.000000000 -0700
++++ /tmp/gnome-games-2.6.2/gnometris/blockops.cpp      2004-08-14 03:14:13.863616496 -0700
+@@ -33,7 +33,7 @@
+                       "y", (double) y * BLOCK_SIZE,
+                       "width", (double) BLOCK_SIZE,
+                       "height", (double) BLOCK_SIZE,
+-                      0);
++                      NULL);
+ 
+       return it;
+ }
+diff -ru gnome-games-2.6.2/gnometris/field.cpp /tmp/gnome-games-2.6.2/gnometris/field.cpp
+--- gnome-games-2.6.2/gnometris/field.cpp      2002-05-04 09:43:54.000000000 -0700
++++ /tmp/gnome-games-2.6.2/gnometris/field.cpp 2004-08-14 03:13:43.052300528 -0700
+@@ -56,7 +56,7 @@
+                       "y", (double) 0,
+                       "width", (double) COLUMNS * BLOCK_SIZE,
+                       "height", (double) LINES * BLOCK_SIZE,
+-                      0);
++                      NULL);
+               else
+                       bg = gnome_canvas_item_new(
+                       gnome_canvas_root(GNOME_CANVAS(w)),
+@@ -68,5 +68,5 @@
+                               "fill_color", "black",
+                               "outline_color", "black",
+                               "width_units", 1.0,
+-                      0);
++                      NULL);
+ }
+diff -ru gnome-games-2.6.2/gnometris/tetris.cpp /tmp/gnome-games-2.6.2/gnometris/tetris.cpp
+--- gnome-games-2.6.2/gnometris/tetris.cpp     2004-02-23 03:09:11.000000000 -0700
++++ /tmp/gnome-games-2.6.2/gnometris/tetris.cpp        2004-08-14 03:14:01.866440344 -0700
+@@ -202,7 +202,7 @@
+                                               "y", LINES*BLOCK_SIZE/2.0,
+                                               "text", _("Paused"),
+                                               "size_points", 36.0,
+-                                              0
++                                              NULL
+                                               );
+ 
+       /* Since gnome_canvas doesn't support setting the size of text in
+@@ -230,7 +230,7 @@
+                                                  "y", LINES*BLOCK_SIZE/2.0,
+                                                  "text", _("Game Over"),
+                                                  "size_points", 36.0,
+-                                                 0
++                                                 NULL
+                                                  );
+ 
+       gnome_canvas_item_get_bounds (gameoverMessage, &x1, &y1, &x2, &y2);
index d46d4ef10f6101c26249b47e4290b0a85954938b..e63d502f4ccdbbf6bf17b54e0a65b5f917a2367d 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-games/gnome-games-2.6.2.ebuild,v 1.7 2004/10/01 15:12:57 geoman Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-games/gnome-games-2.6.2.ebuild,v 1.8 2004/10/17 19:36:26 liquidx Exp $
 
 inherit gnome2 eutils
 
@@ -27,6 +27,12 @@ DEPEND=">=dev-util/pkgconfig-0.12.0
 
 DOCS="AUTHORS ChangeLog HACKING INSTALL MAINTAINERS NEWS README TODO"
 
+src_unpack() {
+       unpack ${A}
+       cd ${S}
+       epatch ${FILESDIR}/${P}-amd64.patch
+}
+
 src_install() {
 
        gnome2_src_install