When compiliing x11-drivers/xf86-video-sis against a dri-enabled media-libs/mesa and x11-base/xorg-server, x11-drivers/xf86-video-sis fails to compile with this: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/xorg -I/usr/include/pixman-1 -I/usr/include/drm -I/usr/include/X11/dri -O2 -pipe -march=i686 -g -ggdb2 -MT sis_dri.lo -MD -MP -MF .deps/sis_dri.Tpo -c sis_dri.c -fPIC -DPIC -o .libs/sis_dri.o sis_dri.c: In function `SISDRIScreenInit': sis_dri.c:501: warning: passing arg 5 of `drmAgpAlloc' from incompatible pointer type sis_dri.c:512: warning: passing arg 5 of `drmAgpAlloc' from incompatible pointer type sis_dri.c:541: warning: passing arg 5 of `drmAgpAlloc' from incompatible pointer type sis_dri.c: At top level: sis_dri.c:753: error: conflicting types for 'SISDRICloseScreen' sis_dri.c:427: error: previous implicit declaration of 'SISDRICloseScreen' was here make[2]: *** [sis_dri.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-sis-0.9.3/work/xf86-video-sis-0.9.3/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-sis-0.9.3/work/xf86-video-sis-0.9.3' make: *** [all] Error 2 This happens on a stable system as well as on a ~arch'ed system.
Created attachment 135139 [details] emerge --info
Created attachment 135140 [details] emerge log
*** This bug has been marked as a duplicate of bug 167256 ***