Summary: | dev-games/openscenegraph-3.0.1 with media-libs/xine-lib-1.2.0 - .../work/OpenSceneGraph-3.0.1/src/osgPlugins/xine/video_out_rgb.c:2772:25: error: ‘video _driver_class_t’ has no member named ‘get_identifier’ | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Juergen Rose <rose> |
Component: | [OLD] Games | Assignee: | Maciej Mrozowski <reavertm> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | games, Martin.vGagern, massimobalestra |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Bzip2ed /var/tmp/portage/dev-games/openscenegraph-3.0.1/temp/build.log
Fix v1 |
Description
Juergen Rose
2012-01-04 14:02:23 UTC
Created attachment 297937 [details]
Bzip2ed /var/tmp/portage/dev-games/openscenegraph-3.0.1/temp/build.log
Hit me, too, so please confirm. Caused by this change in xine-lib: http://anonscm.debian.org/hg/xine-lib/xine-lib-1.2/diff/806b590a4d38/src/xine-engine/video_out.h No fix yet in upstream trunk: http://www.openscenegraph.org/projects/osg/browser/OpenSceneGraph/trunk/src/osgPlugins/xine Created attachment 298243 [details, diff]
Fix v1
This should fix things by using the new API for xine-lib-1.2.0. Compiles for me.
I've submitted my fix to OSG upstream as well: http://thread.gmane.org/gmane.comp.graphics.openscenegraph.cvs/10081 By the way: the openscenegraph ebuild does inherit a call to epatch_user in its src_prepare phase. So until this is fixed in the portage tree, users can apply the fix like this: # mkdir -p /etc/portage/patches/dev-games/openscenegraph-3.0.1 # wget -O /etc/portage/patches/dev-games/openscenegraph-3.0.1/xine-2.1.patch \ 'https://397643.bugs.gentoo.org/attachment.cgi?id=298243' # emerge -1 openscenegraph Once the fix makes it into the main tree, you'll have to delete this file, otherwise you'll get an error applying the patch. + 09 Jan 2012; Samuli Suominen <ssuominen@gentoo.org> + openscenegraph-3.0.1.ebuild, +files/openscenegraph-3.0.1-xinelib12x.patch: + Fix compability with xine-lib >= 1.2.x wrt #397643 by Martin von Gagern (btw, the patch looks correct to me and works too) (In reply to comment #4) > I've submitted my fix to OSG upstream as well: FYI: Upstream has committed my patch by now: http://www.openscenegraph.org/projects/osg/changeset/12975 So the ebuild for the next release shouldn't need this patch any more. |