head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.2 pkgsrc-2013Q2-base:1.2 pkgsrc-2013Q1:1.1.0.24 pkgsrc-2013Q1-base:1.1 pkgsrc-2012Q4:1.1.0.22 pkgsrc-2012Q4-base:1.1 pkgsrc-2012Q3:1.1.0.20 pkgsrc-2012Q3-base:1.1 pkgsrc-2012Q2:1.1.0.18 pkgsrc-2012Q2-base:1.1 pkgsrc-2012Q1:1.1.0.16 pkgsrc-2012Q1-base:1.1 pkgsrc-2011Q4:1.1.0.14 pkgsrc-2011Q4-base:1.1 pkgsrc-2011Q3:1.1.0.12 pkgsrc-2011Q3-base:1.1 pkgsrc-2011Q2:1.1.0.10 pkgsrc-2011Q2-base:1.1 pkgsrc-2011Q1:1.1.0.8 pkgsrc-2011Q1-base:1.1 pkgsrc-2010Q4:1.1.0.6 pkgsrc-2010Q4-base:1.1 pkgsrc-2010Q3:1.1.0.4 pkgsrc-2010Q3-base:1.1 pkgsrc-2010Q2:1.1.0.2 pkgsrc-2010Q2-base:1.1; locks; strict; comment @# @; 1.2 date 2013.06.13.14.01.34; author obache; state dead; branches; next 1.1; commitid 2k2rHEmPPLGQysTw; 1.1 date 2010.05.25.07.25.44; author obache; state Exp; branches; next ; desc @@ 1.2 log @Remove clutter-0.8 packages from pkgsrc. obsolated and nothing is using them in pkgsrc. @ text @$NetBSD: patch-ab,v 1.1 2010/05/25 07:25:44 obache Exp $ falls back to gmodule, same as clutter-1.x. --- clutter/cogl/gl/cogl.c.orig 2009-02-20 15:41:39.000000000 +0000 +++ clutter/cogl/gl/cogl.c @@@@ -82,6 +82,7 @@@@ _cogl_error_string(GLenum errorCode) CoglFuncPtr cogl_get_proc_address (const gchar* name) { + static GModule *module = NULL; /* Sucks to ifdef here but not other option..? would be nice to * split the code up for more reuse (once more backends use this */ @@@@ -122,11 +123,10 @@@@ cogl_get_proc_address (const gchar* name return (CoglFuncPtr) wglGetProcAddress ((LPCSTR) name); -#else /* HAVE_CLUTTER_WIN32 */ +#endif /* HAVE_CLUTTER_WIN32 */ /* this should find the right function if the program is linked against a * library providing it */ - static GModule *module = NULL; if (module == NULL) module = g_module_open (NULL, G_MODULE_BIND_LAZY | G_MODULE_BIND_LOCAL); @@@@ -138,8 +138,6 @@@@ cogl_get_proc_address (const gchar* name return symbol; } -#endif /* HAVE_CLUTTER_WIN32 */ - return NULL; } @ 1.1 log @In cogl_get_proc_address(), falls back to gmmodule, same as clutter-1.x. It will fix ruby-clutter. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ @