summaryrefslogtreecommitdiff
path: root/libraries/OpenSceneGraph/openscenegraph-3.0.1-xinelib12x.patch
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2012-09-09 12:06:50 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-09-09 19:59:27 -0500
commit46742e4263ff2b9b1172ddc89f0f8881d58ac645 (patch)
tree85ecf0350d40f0c2931a4b701fa0092d8b827861 /libraries/OpenSceneGraph/openscenegraph-3.0.1-xinelib12x.patch
parentd9fc6872d1f4669e6f9d3175e1985af858590e27 (diff)
downloadslackbuilds-46742e4263ff2b9b1172ddc89f0f8881d58ac645.tar.gz
libraries/OpenSceneGraph: Updated for version 3.0.1.
Also disabled ffmpeg (incompatible) and added two fixes for curl and xine. Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/OpenSceneGraph/openscenegraph-3.0.1-xinelib12x.patch')
-rw-r--r--libraries/OpenSceneGraph/openscenegraph-3.0.1-xinelib12x.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/libraries/OpenSceneGraph/openscenegraph-3.0.1-xinelib12x.patch b/libraries/OpenSceneGraph/openscenegraph-3.0.1-xinelib12x.patch
new file mode 100644
index 0000000000..a69a6604e0
--- /dev/null
+++ b/libraries/OpenSceneGraph/openscenegraph-3.0.1-xinelib12x.patch
@@ -0,0 +1,19 @@
+http://bugs.gentoo.org/397643
+
+--- src/osgPlugins/xine/video_out_rgb.c
++++ src/osgPlugins/xine/video_out_rgb.c
+@@ -2769,8 +2769,14 @@ init_class(xine_t* xine, void* vo_visual
+ clear(rgb_class, sizeof(rgbout_class_t));
+
+ rgb_class->driver_class.open_plugin = open_plugin;
++#if XINE_MAJOR_VERSION < 1 || (XINE_MAJOR_VERSION == 1 && XINE_MINOR_VERSION < 2)
+ rgb_class->driver_class.get_identifier = get_identifier;
+ rgb_class->driver_class.get_description = get_description;
++#else
++ rgb_class->driver_class.identifier = get_identifier(NULL);
++ rgb_class->driver_class.description = get_description(NULL);
++#endif
++
+ rgb_class->driver_class.dispose = dispose_class;
+
+ return(rgb_class);