- unbreak with recent gtk+2 update
This commit is contained in:
parent
bf292d166b
commit
eb40e8c90e
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.6 2009/08/10 06:31:09 kili Exp $
|
||||
# $OpenBSD: Makefile,v 1.7 2010/04/24 13:54:32 jasper Exp $
|
||||
|
||||
# Other archs have not been tested
|
||||
ONLY_FOR_ARCHS = amd64 i386
|
||||
@ -10,8 +10,8 @@ COMMENT-tools = tools to manipulate MAME/MESS roms and disk images
|
||||
|
||||
V = 0.132
|
||||
DISTNAME = sdlmame${V:S/.//}
|
||||
PKGNAME-main = sdlmame-${V}p0
|
||||
PKGNAME-tools = sdlmame-tools-${V}p0
|
||||
PKGNAME-main = sdlmame-${V}p1
|
||||
PKGNAME-tools = sdlmame-tools-${V}p1
|
||||
|
||||
CATEGORIES = emulators games
|
||||
|
||||
|
15
emulators/sdlmame/patches/patch-src_osd_sdl_dview_c
Normal file
15
emulators/sdlmame/patches/patch-src_osd_sdl_dview_c
Normal file
@ -0,0 +1,15 @@
|
||||
$OpenBSD: patch-src_osd_sdl_dview_c,v 1.1 2010/04/24 13:54:32 jasper Exp $
|
||||
|
||||
Fix build with newer gtk versions.
|
||||
|
||||
--- src/osd/sdl/dview.c.orig Sat Apr 24 15:34:35 2010
|
||||
+++ src/osd/sdl/dview.c Sat Apr 24 15:34:58 2010
|
||||
@@ -213,7 +213,7 @@ static void dview_size_allocate(GtkWidget *wdv, GtkAll
|
||||
debug_view_set_visible_position(dv->dw, pos);
|
||||
debug_view_set_visible_size(dv->dw, vsize);
|
||||
|
||||
- if(GTK_WIDGET_REALIZED(wdv))
|
||||
+ if(gtk_widget_get_realized(wdv))
|
||||
gdk_window_move_resize(wdv->window,
|
||||
allocation->x, allocation->y,
|
||||
allocation->width, allocation->height);
|
Loading…
x
Reference in New Issue
Block a user