public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in games-board/gtkboard/files: gtkboard-0.11_pre0-gcc45.patch
@ 2010-05-24 12:08 Alfredo Tupone (tupone)
  0 siblings, 0 replies; only message in thread
From: Alfredo Tupone (tupone) @ 2010-05-24 12:08 UTC (permalink / raw
  To: gentoo-commits

tupone      10/05/24 12:08:51

  Added:                gtkboard-0.11_pre0-gcc45.patch
  Log:
  Build with gcc-4.5 Bug #320881
  (Portage version: 2.1.8.3/cvs/Linux i686)

Revision  Changes    Path
1.1                  games-board/gtkboard/files/gtkboard-0.11_pre0-gcc45.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-board/gtkboard/files/gtkboard-0.11_pre0-gcc45.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-board/gtkboard/files/gtkboard-0.11_pre0-gcc45.patch?rev=1.1&content-type=text/plain

Index: gtkboard-0.11_pre0-gcc45.patch
===================================================================
--- src/menu.c.old	2010-05-24 12:35:15.000000000 +0200
+++ src/menu.c	2010-05-24 12:35:48.000000000 +0200
@@ -176,7 +176,7 @@
 {
 #if GTK_MAJOR_VERSION == 2
 	// FIXME: can't get existing bgcolor
-	const int size = 20;
+#define size 20
 	static char pixbufs [7][size*(size+1)];
 	char **pixmap_data;
 	static GdkPixmap *pixmaps[7];
--- src/wordtris.c.old	2010-05-24 12:36:50.000000000 +0200
+++ src/wordtris.c	2010-05-24 12:38:30.000000000 +0200
@@ -122,7 +122,7 @@
 
 // TODO: change this so that we only need to specify pixmaps for individual squares
 
-static const int lava_xpm_header_size = 253+1;
+#define lava_xpm_header_size 253+1
 static char * lava_xpm_header[] = 
 {
 "144 504 253 2",






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-05-24 12:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-24 12:08 [gentoo-commits] gentoo-x86 commit in games-board/gtkboard/files: gtkboard-0.11_pre0-gcc45.patch Alfredo Tupone (tupone)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox