Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 52750 Details for
Bug 84235
mupen64-alsasnd doesnt compile under gcc 3.4
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
0.4-gtk.patch
0.4-gtk.patch (text/plain), 1.17 KB, created by
Bret Towe
on 2005-03-05 13:57:24 UTC
(
hide
)
Description:
0.4-gtk.patch
Filename:
MIME Type:
Creator:
Bret Towe
Created:
2005-03-05 13:57:24 UTC
Size:
1.17 KB
patch
obsolete
>--- alsa_plugin/Makefile.old 2005-02-28 20:54:40.718370614 -0800 >+++ alsa_plugin/Makefile 2005-02-28 20:55:54.048853201 -0800 >@@ -4,6 +4,11 @@ > GUILDFLAGS = `gtk-config --libs` > OBJECTS = gtk1_gui.o > endif >+ifeq ($(GRAPHICAL_INTERFACE),gtk2) >+ GUICFLAGS = -D_GTK2 `pkg-config --cflags gtk+-2.0` >+ GUILDFLAGS = `pkg-config --libs gtk+-2.0` >+ OBJECTS = gtk1_gui.o >+endif > ifeq ($(GRAPHICAL_INTERFACE),qt3) > GUICFLAGS = -DUSE_QT -I$(QTDIR)/include -I$(QTDIR)/mkspecs/linux-g++ -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT > GUILDFLAGS = -L$(QTDIR)/lib -lqt-mt >@@ -46,7 +51,6 @@ > > $(PLUGIN): $(OBJECTS) > $(LD) $(LDFLAGS) -o $@ $(OBJECTS) >- strip --strip-all $@ > > instructions: > $(warning please copy $(PLUGIN) in the plugins/ folder of the emulator) >--- alsa_plugin/gtk1_gui.cpp.old 2005-02-28 20:54:50.072190695 -0800 >+++ alsa_plugin/gtk1_gui.cpp 2005-02-28 20:55:45.015049773 -0800 >@@ -56,7 +56,7 @@ > > void CreateGUIObject( Plugin_Graphical_Interface **GUI, Plugin_Audio_Driver *drv ) > { >- ( ( GTK1_Interface * )( *GUI ) ) = new GTK1_Interface( drv ); >+ *GUI = dynamic_cast<Plugin_Graphical_Interface *>(new GTK1_Interface( drv )); > } > > void DeleteGUIObject( Plugin_Graphical_Interface **GUI )
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 84235
: 52750 |
52751