Fix build with newer gtk versions.
from Pierre Riteau (maintainer) breakage spotted by naddy@
This commit is contained in:
parent
69dd1e66a1
commit
72d23004d3
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.6 2009/08/10 06:31:09 kili Exp $
|
||||
# $OpenBSD: Makefile,v 1.7 2010/04/26 21:02:26 ajacoutot Exp $
|
||||
|
||||
# Other archs have not been tested
|
||||
ONLY_FOR_ARCHS = amd64 i386
|
||||
@ -7,7 +7,7 @@ COMMENT = emulates game consoles and old home computers
|
||||
|
||||
V = 0.132
|
||||
DISTNAME = sdlmess${V:S/.//}
|
||||
PKGNAME = sdlmess-${V}p0
|
||||
PKGNAME = sdlmess-${V}p1
|
||||
|
||||
CATEGORIES = emulators games
|
||||
|
||||
@ -26,6 +26,7 @@ WANTLIB += Xfixes Xi Xinerama Xrandr Xrender atk-1.0 c cairo dbus-1
|
||||
WANTLIB += expat fontconfig freetype gio-2.0 glib-2.0 glitz gmodule-2.0
|
||||
WANTLIB += gobject-2.0 gthread-2.0 iconv intl m pango-1.0 pangocairo-1.0
|
||||
WANTLIB += pangoft2-1.0 pixman-1 png pthread pthread-stubs xcb z
|
||||
WANTLIB += xcb-render xcb-render-util
|
||||
|
||||
MASTER_SITES = http://rbelmont.mameworld.info/
|
||||
EXTRACT_SUFX = .zip
|
||||
|
15
emulators/sdlmess/patches/patch-src_osd_sdl_dview_c
Normal file
15
emulators/sdlmess/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/26 21:02:26 ajacoutot Exp $
|
||||
|
||||
Fix build with newer gtk versions.
|
||||
|
||||
--- src/osd/sdl/dview.c.orig Mon Apr 26 21:23:55 2010
|
||||
+++ src/osd/sdl/dview.c Mon Apr 26 21:21:28 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…
Reference in New Issue
Block a user