diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2010-05-24 12:08:51 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2010-05-24 12:08:51 +0000 |
commit | c36263f01e2c4c1014223edc74a75a10f7ab257a (patch) | |
tree | 996ceed4d553c0aa06fe68fbdb0d149c876dea94 /games-board/gtkboard/files | |
parent | fix libpng14 problem (see Bug #321201). Thanks for patch Xarthisius. (diff) | |
download | gentoo-2-c36263f01e2c4c1014223edc74a75a10f7ab257a.tar.gz gentoo-2-c36263f01e2c4c1014223edc74a75a10f7ab257a.tar.bz2 gentoo-2-c36263f01e2c4c1014223edc74a75a10f7ab257a.zip |
Build with gcc-4.5 Bug #320881
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'games-board/gtkboard/files')
-rw-r--r-- | games-board/gtkboard/files/gtkboard-0.11_pre0-gcc45.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/games-board/gtkboard/files/gtkboard-0.11_pre0-gcc45.patch b/games-board/gtkboard/files/gtkboard-0.11_pre0-gcc45.patch new file mode 100644 index 000000000000..300e528c9ef7 --- /dev/null +++ b/games-board/gtkboard/files/gtkboard-0.11_pre0-gcc45.patch @@ -0,0 +1,22 @@ +--- 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", |