summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2006-04-29 20:37:23 +0000
committerStefan Schweizer <genstef@gentoo.org>2006-04-29 20:37:23 +0000
commitad278592901a1566a483f02100d8464375e73e25 (patch)
treee5ace872727f139c179b8fb62fa9ada81bc9b39a /games-board/gtkboard
parentImprove db configuration. Thanks to Ruslan Zakirov for initial patch. (diff)
downloadgentoo-2-ad278592901a1566a483f02100d8464375e73e25.tar.gz
gentoo-2-ad278592901a1566a483f02100d8464375e73e25.tar.bz2
gentoo-2-ad278592901a1566a483f02100d8464375e73e25.zip
gcc4 fix thanks to Markus Gothe <nietzsche@lysator.liu.se>, nyhm <tristanheaven@gmail.com> and Jose daLuz <jdaluz@gmail.com> in bug 122147
(Portage version: 2.1_pre9-r5)
Diffstat (limited to 'games-board/gtkboard')
-rw-r--r--games-board/gtkboard/ChangeLog9
-rw-r--r--games-board/gtkboard/files/digest-gtkboard-0.11_pre02
-rw-r--r--games-board/gtkboard/files/gtkboard-0.11_pre0-gcc41.patch24
-rw-r--r--games-board/gtkboard/gtkboard-0.11_pre0.ebuild8
4 files changed, 40 insertions, 3 deletions
diff --git a/games-board/gtkboard/ChangeLog b/games-board/gtkboard/ChangeLog
index 869bfaf7db3e..3d6f43efcee7 100644
--- a/games-board/gtkboard/ChangeLog
+++ b/games-board/gtkboard/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-board/gtkboard
-# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/gtkboard/ChangeLog,v 1.7 2004/11/11 00:50:52 josejx Exp $
+# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/gtkboard/ChangeLog,v 1.8 2006/04/29 20:37:22 genstef Exp $
+
+ 29 Apr 2006; Stefan Schweizer <genstef@gentoo.org>
+ +files/gtkboard-0.11_pre0-gcc41.patch, gtkboard-0.11_pre0.ebuild:
+ gcc4 fix thanks to Markus Gothe <nietzsche@lysator.liu.se>, nyhm
+ <tristanheaven@gmail.com> and Jose daLuz <jdaluz@gmail.com> in bug 122147
11 Nov 2004; Joseph Jezak <josejx@gentoo.org> gtkboard-0.11_pre0.ebuild:
Marked ppc stable.
diff --git a/games-board/gtkboard/files/digest-gtkboard-0.11_pre0 b/games-board/gtkboard/files/digest-gtkboard-0.11_pre0
index 80d6f4c6130c..f4293edbc219 100644
--- a/games-board/gtkboard/files/digest-gtkboard-0.11_pre0
+++ b/games-board/gtkboard/files/digest-gtkboard-0.11_pre0
@@ -1 +1,3 @@
MD5 f9fa95b617b9f0006387ed2abcb822b7 gtkboard-0.11pre0.tar.gz 459581
+RMD160 1381f11a5a83a1de60c5ce1c7f672bafde840920 gtkboard-0.11pre0.tar.gz 459581
+SHA256 e67ffbec822ce989c9b480b9ef0429bcc75fb2dcdf349940d7d5f9f85da902c5 gtkboard-0.11pre0.tar.gz 459581
diff --git a/games-board/gtkboard/files/gtkboard-0.11_pre0-gcc41.patch b/games-board/gtkboard/files/gtkboard-0.11_pre0-gcc41.patch
new file mode 100644
index 000000000000..2e6a4c6f83ce
--- /dev/null
+++ b/games-board/gtkboard/files/gtkboard-0.11_pre0-gcc41.patch
@@ -0,0 +1,24 @@
+gcc-4.1 patch from debian.
+
+--- src/board.c
++++ src/board.c
+@@ -74,7 +74,7 @@
+ //! default background
+ char board_default_colors [9] = {215, 215, 215, 215, 215, 215, 0, 0, 0};
+
+-static int cell_size, num_pieces;
++int cell_size, num_pieces;
+
+ extern void ui_make_human_move (byte *move, int *rmove);
+
+--- src/menu.c
++++ src/menu.c
+@@ -829,7 +829,7 @@
+
+ {
+ int i;
+- GtkItemFactoryEntry help_items [3];
++ GtkItemFactoryEntry help_items [4];
+ help_items[0].path = g_strdup_printf ("/Help/%s", opt_game->name);
+ help_items[0].accelerator = NULL;
+ help_items[0].callback = NULL;
diff --git a/games-board/gtkboard/gtkboard-0.11_pre0.ebuild b/games-board/gtkboard/gtkboard-0.11_pre0.ebuild
index dd9149a93fcf..98dda1bd7a1c 100644
--- a/games-board/gtkboard/gtkboard-0.11_pre0.ebuild
+++ b/games-board/gtkboard/gtkboard-0.11_pre0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/gtkboard/gtkboard-0.11_pre0.ebuild,v 1.9 2006/04/23 04:47:48 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/gtkboard/gtkboard-0.11_pre0.ebuild,v 1.10 2006/04/29 20:37:22 genstef Exp $
inherit games
@@ -20,6 +20,12 @@ DEPEND=">=x11-libs/gtk+-2
S=${WORKDIR}/${MY_P}
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-gcc41.patch"
+}
+
src_compile() {
egamesconf \
--disable-dependency-tracking \