Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-games/openscenegraph/files: openscenegraph-3.0.1-xinelib12x.patch
Date: Mon, 09 Jan 2012 06:06:31
Message-Id: 20120109060619.BF54E2001D@flycatcher.gentoo.org
1 ssuominen 12/01/09 06:06:19
2
3 Added: openscenegraph-3.0.1-xinelib12x.patch
4 Log:
5 Fix compability with xine-lib >= 1.2.x wrt #397643 by Martin von Gagern
6
7 (Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 dev-games/openscenegraph/files/openscenegraph-3.0.1-xinelib12x.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-games/openscenegraph/files/openscenegraph-3.0.1-xinelib12x.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-games/openscenegraph/files/openscenegraph-3.0.1-xinelib12x.patch?rev=1.1&content-type=text/plain
14
15 Index: openscenegraph-3.0.1-xinelib12x.patch
16 ===================================================================
17 http://bugs.gentoo.org/397643
18
19 --- src/osgPlugins/xine/video_out_rgb.c
20 +++ src/osgPlugins/xine/video_out_rgb.c
21 @@ -2769,8 +2769,14 @@ init_class(xine_t* xine, void* vo_visual
22 clear(rgb_class, sizeof(rgbout_class_t));
23
24 rgb_class->driver_class.open_plugin = open_plugin;
25 +#if XINE_MAJOR_VERSION < 1 || (XINE_MAJOR_VERSION == 1 && XINE_MINOR_VERSION < 2)
26 rgb_class->driver_class.get_identifier = get_identifier;
27 rgb_class->driver_class.get_description = get_description;
28 +#else
29 + rgb_class->driver_class.identifier = get_identifier(NULL);
30 + rgb_class->driver_class.description = get_description(NULL);
31 +#endif
32 +
33 rgb_class->driver_class.dispose = dispose_class;
34
35 return(rgb_class);