# $Id$ PNAME="xf86-video-sis" PVER="0.11.0" PBUILD="r1" PCAT="x11-drivers" DEPEND=">= x11-libs/libdrm-2.4.100 >= media-libs/mesa-dri-swrast-19.2 == virtual/X-ABI-VIDEODRV-24.0" sminclude xorg SRC_URI+=( mirror://${PNAME}/${PNAME}-0.10.7-xi.patch mirror://${PNAME}/${PNAME}-0.10.9-ftbfs-xorg-server-1.20.patch ) src_prepare() { munpack ${SRCFILE} || die cd ${SRCDIR} # fix build against new xi mpatch ${PNAME}-0.10.7-xi.patch || die # fix ftbfs with xorg-server-1.20 # see: https://lists.x.org/archives/xorg-devel/2018-May/056952.html mpatch ${PNAME}-0.10.9-ftbfs-xorg-server-1.20.patch || die mautoreconf || die } src_compile() { cd ${SRCDIR} xorg_src_configure --enable-dri || die mmake || die }