Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 5866

Summary: xine-lib-0.9.12-r2 don't compile with directfb
Product: Gentoo Linux Reporter: Nils Ohlmeier <develop>
Component: [OLD] LibraryAssignee: Daniel Ahlberg (RETIRED) <aliz>
Status: RESOLVED FIXED    
Severity: normal CC: mholzer
Priority: High    
Version: 1.2   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: The make log

Description Nils Ohlmeier 2002-08-01 12:48:53 UTC
Installed: portage-2.0.23, DirectFB-0.9.12. "directfb" is USE.

Above don't compile if directfb is detected because in
src/video_out/video_out_directfb.c the directfb header is include without a path
but the headers are installed in the directfb subdir of /usr/include.

For me this additional line in the scr_compile section of the ebuild worked:
 use directfb && myconf="${myconf} --x-includes=/usr/include/directfb"
But this is nasty (because this should be regulated by some directfb parameters
and not this X option) and won't work if someone only has directfb installed but
not in his USE.
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2002-08-02 08:37:58 UTC
Created attachment 2739 [details]
The make log
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2002-08-02 08:56:57 UTC
portage-2.0.23
gcc version 2.95.3 20010315 (release)
xine-lib-0.9.12-r2

same error, see attachment
Comment 3 Daniel Ahlberg (RETIRED) gentoo-dev 2002-08-02 11:29:53 UTC
I've commited a fix to -r2, try emerging it when it hits your rsync mirror.