diff options
author | wiz <wiz@pkgsrc.org> | 2010-11-18 10:08:31 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2010-11-18 10:08:31 +0000 |
commit | 078080c37f5d6a71f74a54cc44f68def3dd4a0ab (patch) | |
tree | 298566096275acfd9fc7f35c5b5e904dfd0946e5 /emulators/sdlmame/patches | |
parent | a4a2a152a61e86a406664f00d5abd17029014304 (diff) | |
download | pkgsrc-078080c37f5d6a71f74a54cc44f68def3dd4a0ab.tar.gz |
Fix build with gtk>=2.22.
Diffstat (limited to 'emulators/sdlmame/patches')
-rw-r--r-- | emulators/sdlmame/patches/patch-ag | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/emulators/sdlmame/patches/patch-ag b/emulators/sdlmame/patches/patch-ag new file mode 100644 index 00000000000..18be8dadcf2 --- /dev/null +++ b/emulators/sdlmame/patches/patch-ag @@ -0,0 +1,12 @@ +$NetBSD: patch-ag,v 1.1 2010/11/18 10:08:31 wiz Exp $ + +--- src/osd/sdl/sdl.mak.orig 2009-12-19 16:18:21.000000000 +0000 ++++ src/osd/sdl/sdl.mak +@@ -300,7 +300,6 @@ ifndef NO_X11 + 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 + endif # NO_X11 |