diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2010-08-17 19:58:21 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2010-08-17 19:58:21 +0000 |
commit | 864b8e26a21213423d3a6ce33336471c628d2687 (patch) | |
tree | 55ed1777861b6ae4a38a64f1bd91140c8be7b270 /games-emulation/sdlmame/files | |
parent | Revision bump, fixes bug 331899 and bug 332737 (diff) | |
download | gentoo-2-864b8e26a21213423d3a6ce33336471c628d2687.tar.gz gentoo-2-864b8e26a21213423d3a6ce33336471c628d2687.tar.bz2 gentoo-2-864b8e26a21213423d3a6ce33336471c628d2687.zip |
add debug use flag (bug #333219) - patch from Martin Väth
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'games-emulation/sdlmame/files')
-rw-r--r-- | games-emulation/sdlmame/files/sdlmame-0.136-nodebug.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/games-emulation/sdlmame/files/sdlmame-0.136-nodebug.patch b/games-emulation/sdlmame/files/sdlmame-0.136-nodebug.patch new file mode 100644 index 000000000000..0779a907d51b --- /dev/null +++ b/games-emulation/sdlmame/files/sdlmame-0.136-nodebug.patch @@ -0,0 +1,31 @@ +--- src/osd/sdl/sdl.mak ++++ src/osd/sdl/sdl.mak +@@ -37,6 +37,10 @@ + + # NO_X11 = 1 + ++# comment next line to build with debugging support ++ ++NO_DEBUGGER = 1 ++ + # uncomment and adapt next line to link against specific GL-Library + # this will also add a rpath to the executable + # MESA_INSTALL_ROOT = /usr/local/dfb_GL +@@ -297,12 +301,17 @@ + # the new debugger relies on GTK+ in addition to the base SDLMAME needs + # Non-X11 builds can not use the debugger + ifndef NO_X11 ++ifndef NO_DEBUGGER + OSDCOREOBJS += $(SDLOBJ)/debugwin.o $(SDLOBJ)/dview.o $(SDLOBJ)/debug-sup.o $(SDLOBJ)/debug-intf.o + CFLAGS += `pkg-config --cflags gtk+-2.0` `pkg-config --cflags gconf-2.0` + LIBS += `pkg-config --libs gtk+-2.0` `pkg-config --libs gconf-2.0` + CFLAGS += -DGTK_DISABLE_DEPRECATED + else + OSDCOREOBJS += $(SDLOBJ)/debugwin.o ++DEFS += -DNO_DEBUGGER ++endif # NO_DEBUGGER ++else ++OSDCOREOBJS += $(SDLOBJ)/debugwin.o + endif # NO_X11 + + # make sure we can find X headers |