diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-11-20 08:16:11 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-11-20 08:16:11 +0000 |
commit | 821c661c14a43e316601351a3790adce5542c1a4 (patch) | |
tree | c716e6595d9406ba352705127a093c0f7d9020d6 /media-libs/allegro/files | |
parent | cleanup old stuff (diff) | |
download | gentoo-2-821c661c14a43e316601351a3790adce5542c1a4.tar.gz gentoo-2-821c661c14a43e316601351a3790adce5542c1a4.tar.bz2 gentoo-2-821c661c14a43e316601351a3790adce5542c1a4.zip |
Add patch by Mark Loeser to fix building with gcc-4.
(Portage version: 2.0.53_rc7)
Diffstat (limited to 'media-libs/allegro/files')
-rw-r--r-- | media-libs/allegro/files/allegro-4.1.18-gcc4.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/media-libs/allegro/files/allegro-4.1.18-gcc4.patch b/media-libs/allegro/files/allegro-4.1.18-gcc4.patch new file mode 100644 index 000000000000..28f65563cb3d --- /dev/null +++ b/media-libs/allegro/files/allegro-4.1.18-gcc4.patch @@ -0,0 +1,35 @@ +Clean up code to work with gcc4 + +patch by Mark Loeser + +--- allegro-4.1.18/src/gui.c ++++ allegro-4.1.18/src/gui.c +@@ -1798,6 +1798,7 @@ + + + ++static int shutdown_single_menu(MENU_PLAYER *, int *); + /* update_menu: + * Updates the status of a menu player object returned by init_menu(), + * returning TRUE if it is still active or FALSE if it has finished. +@@ -1810,8 +1810,6 @@ + */ + int update_menu(MENU_PLAYER *player) + { +- static int shutdown_single_menu(MENU_PLAYER *, int *); +- + MENU_PLAYER *i; + int c, c2; + int old_sel, child_ret; +--- allegro-4.1.18/src/sound.c ++++ allegro-4.1.18/src/sound.c +@@ -25,7 +25,7 @@ + + + +-extern DIGI_DRIVER digi_none; ++static DIGI_DRIVER digi_none; + + + + |