From 29336ef62ab2b81a60b35b36e85681b982b51e1a Mon Sep 17 00:00:00 2001 From: wiz Date: Thu, 3 May 2012 06:03:30 +0000 Subject: Fix build with glib-2.32. --- x11/gtk-sharp/distinfo | 5 ++++- x11/gtk-sharp/patches/patch-glib_glue_list.c | 15 +++++++++++++++ x11/gtk-sharp/patches/patch-glib_glue_slist.c | 15 +++++++++++++++ x11/gtk-sharp/patches/patch-glib_glue_thread.c | 15 +++++++++++++++ 4 files changed, 49 insertions(+), 1 deletion(-) create mode 100644 x11/gtk-sharp/patches/patch-glib_glue_list.c create mode 100644 x11/gtk-sharp/patches/patch-glib_glue_slist.c create mode 100644 x11/gtk-sharp/patches/patch-glib_glue_thread.c (limited to 'x11') diff --git a/x11/gtk-sharp/distinfo b/x11/gtk-sharp/distinfo index dcf1427a9f7..fbc28c2a2c0 100644 --- a/x11/gtk-sharp/distinfo +++ b/x11/gtk-sharp/distinfo @@ -1,5 +1,8 @@ -$NetBSD: distinfo,v 1.10 2010/03/16 19:33:37 wiz Exp $ +$NetBSD: distinfo,v 1.11 2012/05/03 06:03:30 wiz Exp $ SHA1 (gtk-sharp-2.12.10.tar.bz2) = 10cef6b1bb9a8a33f9cc32ffeb7b34577c90b393 RMD160 (gtk-sharp-2.12.10.tar.bz2) = 8eed70310b961d823cf9c7766aa3a5fdfd5e5d05 Size (gtk-sharp-2.12.10.tar.bz2) = 1638263 bytes +SHA1 (patch-glib_glue_list.c) = b72408763d30696a50bc5c860707b70e6ac08bce +SHA1 (patch-glib_glue_slist.c) = 39d1aac799ca5312a53a1f69570e671322864efa +SHA1 (patch-glib_glue_thread.c) = b04ee63877aa50fa9fa945256fa89611d5931337 diff --git a/x11/gtk-sharp/patches/patch-glib_glue_list.c b/x11/gtk-sharp/patches/patch-glib_glue_list.c new file mode 100644 index 00000000000..2433813bcfc --- /dev/null +++ b/x11/gtk-sharp/patches/patch-glib_glue_list.c @@ -0,0 +1,15 @@ +$NetBSD: patch-glib_glue_list.c,v 1.1 2012/05/03 06:03:30 wiz Exp $ + +Adapt for glib-2.32. + +--- glib/glue/list.c.orig 2009-01-07 16:54:06.000000000 +0000 ++++ glib/glue/list.c +@@ -20,7 +20,7 @@ + */ + + +-#include ++#include + + /* Forward declarations */ + gpointer gtksharp_list_get_data (GList *l); diff --git a/x11/gtk-sharp/patches/patch-glib_glue_slist.c b/x11/gtk-sharp/patches/patch-glib_glue_slist.c new file mode 100644 index 00000000000..efcfc5393e2 --- /dev/null +++ b/x11/gtk-sharp/patches/patch-glib_glue_slist.c @@ -0,0 +1,15 @@ +$NetBSD: patch-glib_glue_slist.c,v 1.1 2012/05/03 06:03:30 wiz Exp $ + +Adapt for glib-2.32. + +--- glib/glue/slist.c.orig 2009-01-07 16:54:06.000000000 +0000 ++++ glib/glue/slist.c +@@ -20,7 +20,7 @@ + */ + + +-#include ++#include + + /* Forward declarations */ + gpointer gtksharp_slist_get_data (GSList *l); diff --git a/x11/gtk-sharp/patches/patch-glib_glue_thread.c b/x11/gtk-sharp/patches/patch-glib_glue_thread.c new file mode 100644 index 00000000000..3d815d97f22 --- /dev/null +++ b/x11/gtk-sharp/patches/patch-glib_glue_thread.c @@ -0,0 +1,15 @@ +$NetBSD: patch-glib_glue_thread.c,v 1.1 2012/05/03 06:03:30 wiz Exp $ + +Adapt for glib-2.32. + +--- glib/glue/thread.c.orig 2009-01-07 16:54:06.000000000 +0000 ++++ glib/glue/thread.c +@@ -20,7 +20,7 @@ + */ + + +-#include ++#include + + gboolean glibsharp_g_thread_supported (void); + -- cgit v1.2.3