diff options
author | wiz <wiz@pkgsrc.org> | 2010-06-05 12:20:07 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2010-06-05 12:20:07 +0000 |
commit | 311624070809b9cef4bda13e8a7e671344e8f457 (patch) | |
tree | 93cff215fe9dcbc5b75c5dad2639d8922ce5b66c | |
parent | eb7b64ab5bce5ca674e34b5aec61172a3bf748b1 (diff) | |
download | pkgsrc-311624070809b9cef4bda13e8a7e671344e8f457.tar.gz |
Fix build with gtk2>=2.20.
-rw-r--r-- | emulators/sdlmame/distinfo | 3 | ||||
-rw-r--r-- | emulators/sdlmame/patches/patch-af | 13 | ||||
-rw-r--r-- | emulators/sdlmess/distinfo | 3 | ||||
-rw-r--r-- | emulators/sdlmess/patches/patch-af | 13 |
4 files changed, 30 insertions, 2 deletions
diff --git a/emulators/sdlmame/distinfo b/emulators/sdlmame/distinfo index 6908c24a04a..7ba7a30dc3a 100644 --- a/emulators/sdlmame/distinfo +++ b/emulators/sdlmame/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.10 2010/01/16 21:25:19 wiz Exp $ +$NetBSD: distinfo,v 1.11 2010/06/05 12:20:07 wiz Exp $ SHA1 (sdlmame0136.zip) = 19c11abc3b3ab2633df62f3867921b3541bb582e RMD160 (sdlmame0136.zip) = 1cb9b24ae6f97c0f223f13ed97a074de14e2892e @@ -8,4 +8,5 @@ SHA1 (patch-ab) = 3cc161845baae6ebcdab42fbd19f74e2ee3d4cb1 SHA1 (patch-ac) = e97e7b730305aa2d10363cfd65f8e2b30f2fc292 SHA1 (patch-ad) = 8d6312b593343eb2e5b29f177376c8fa243d8293 SHA1 (patch-ae) = d110f0338d224823d959c8a2b57026321a3f0a38 +SHA1 (patch-af) = 4e7b4eab76e43feec91e91238d855c70ac43e15b SHA1 (patch-ah) = f2dbfc44e30857fd9b52ed5d107b5190d5e5f6da diff --git a/emulators/sdlmame/patches/patch-af b/emulators/sdlmame/patches/patch-af new file mode 100644 index 00000000000..5ababa519a6 --- /dev/null +++ b/emulators/sdlmame/patches/patch-af @@ -0,0 +1,13 @@ +$NetBSD: patch-af,v 1.1 2010/06/05 12:20:07 wiz Exp $ + +--- src/osd/sdl/dview.c.orig 2009-12-19 16:18:15.000000000 +0000 ++++ src/osd/sdl/dview.c +@@ -213,7 +213,7 @@ static void dview_size_allocate(GtkWidge + 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); diff --git a/emulators/sdlmess/distinfo b/emulators/sdlmess/distinfo index f95642f25df..ac23f6805f9 100644 --- a/emulators/sdlmess/distinfo +++ b/emulators/sdlmess/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.9 2010/02/03 16:18:28 wiz Exp $ +$NetBSD: distinfo,v 1.10 2010/06/05 12:20:07 wiz Exp $ SHA1 (sdlmess0136.zip) = 54ec2faf96564a86dbe38c4e0666f977d85c4e22 RMD160 (sdlmess0136.zip) = 9463ad4dd5ed7a898af331709c8aa4d78915d43e @@ -8,4 +8,5 @@ SHA1 (patch-ab) = 3cc161845baae6ebcdab42fbd19f74e2ee3d4cb1 SHA1 (patch-ac) = 32503c6dcdeb9a0d082375a11f0e23bac53410db SHA1 (patch-ad) = 8d6312b593343eb2e5b29f177376c8fa243d8293 SHA1 (patch-ae) = d110f0338d224823d959c8a2b57026321a3f0a38 +SHA1 (patch-af) = 4e7b4eab76e43feec91e91238d855c70ac43e15b SHA1 (patch-ah) = f2dbfc44e30857fd9b52ed5d107b5190d5e5f6da diff --git a/emulators/sdlmess/patches/patch-af b/emulators/sdlmess/patches/patch-af new file mode 100644 index 00000000000..5ababa519a6 --- /dev/null +++ b/emulators/sdlmess/patches/patch-af @@ -0,0 +1,13 @@ +$NetBSD: patch-af,v 1.1 2010/06/05 12:20:07 wiz Exp $ + +--- src/osd/sdl/dview.c.orig 2009-12-19 16:18:15.000000000 +0000 ++++ src/osd/sdl/dview.c +@@ -213,7 +213,7 @@ static void dview_size_allocate(GtkWidge + 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); |