summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Loeser <halcy0n@gentoo.org>2006-04-14 04:06:37 +0000
committerMark Loeser <halcy0n@gentoo.org>2006-04-14 04:06:37 +0000
commit7777e837119417924a4e3b98bb0374d529d0da07 (patch)
tree0379c4ff204a034a3f4fc5a37ece788b5829e50e /games-emulation/mupen64-alsasnd/files
parentAdd patch to fix compilation with gcc-4.1 by TGL <degrenier AT easyconnect DO... (diff)
downloadgentoo-2-7777e837119417924a4e3b98bb0374d529d0da07.tar.gz
gentoo-2-7777e837119417924a4e3b98bb0374d529d0da07.tar.bz2
gentoo-2-7777e837119417924a4e3b98bb0374d529d0da07.zip
Add patch to fix compilation with gcc-4.1; bug #126596
(Portage version: 2.1_pre7-r5)
Diffstat (limited to 'games-emulation/mupen64-alsasnd/files')
-rw-r--r--games-emulation/mupen64-alsasnd/files/mupen64-alsasnd-0.4-gcc41.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/games-emulation/mupen64-alsasnd/files/mupen64-alsasnd-0.4-gcc41.patch b/games-emulation/mupen64-alsasnd/files/mupen64-alsasnd-0.4-gcc41.patch
new file mode 100644
index 000000000000..ccea231c62a8
--- /dev/null
+++ b/games-emulation/mupen64-alsasnd/files/mupen64-alsasnd-0.4-gcc41.patch
@@ -0,0 +1,32 @@
+diff -ur alsa_plugin-orig/gtk1_gui.cpp alsa_plugin/gtk1_gui.cpp
+--- alsa_plugin-orig/gtk1_gui.cpp 2006-03-18 01:50:47.000000000 -0500
++++ alsa_plugin/gtk1_gui.cpp 2006-03-18 01:54:53.000000000 -0500
+@@ -54,6 +54,16 @@
+ void setupAboutDialog();
+ };
+
++//Forward declarations
++void begin_testing();
++bool key_press_event_func( GtkWidget *, GdkEventKey * );
++void loadDefaultValues();
++void loadConfigurationFromFile();
++void saveConfigurationToFile();
++void ok_pressed();
++void cancel_config();
++
++
+ void CreateGUIObject( Plugin_Graphical_Interface **GUI, Plugin_Audio_Driver *drv )
+ {
+ *GUI = dynamic_cast<Plugin_Graphical_Interface *>(new GTK1_Interface( drv ));
+diff -ur alsa_plugin-orig/qt3_gui.cpp alsa_plugin/qt3_gui.cpp
+--- alsa_plugin-orig/qt3_gui.cpp 2006-03-18 01:50:47.000000000 -0500
++++ alsa_plugin/qt3_gui.cpp 2006-03-18 01:58:45.000000000 -0500
+@@ -90,7 +90,7 @@
+
+ void CreateGUIObject( Plugin_Graphical_Interface **GUI, Plugin_Audio_Driver *drv )
+ {
+- ( ( QT3_Interface * )( *GUI ) ) = new QT3_Interface( drv );
++ ( *GUI ) = new QT3_Interface( drv );
+ }
+
+ void DeleteGUIObject( Plugin_Graphical_Interface **GUI )