From 511480fbfe598f6a7a46166c2d67bab2bc552424 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 21 Jun 2011 13:38:41 +0200 Subject: [PATCH] MesaLib: make a symlink from swrastg_dri.so to swrast_dri.so. Otherwise some apps that use dlopen() to the latter can still work. --- srcpkgs/MesaLib/template | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/srcpkgs/MesaLib/template b/srcpkgs/MesaLib/template index 22fcf27ae0c..e3094a03ac3 100644 --- a/srcpkgs/MesaLib/template +++ b/srcpkgs/MesaLib/template @@ -1,7 +1,7 @@ # Template build file for 'MesaLib'. pkgname=MesaLib version=7.10.3 -revision=1 +revision=2 wrksrc="Mesa-${version}" patch_args="-Np1" distfiles="ftp://ftp.freedesktop.org/pub/mesa/$version/$pkgname-$version.tar.bz2" @@ -63,4 +63,9 @@ post_install() # Remove radeon Gallium state tracker, conflicts with # xf86-video-ati! rm -f ${DESTDIR}/usr/lib/xorg/modules/drivers/radeon_drv.so + + # Make a symlink from gallium software rasterizer to emulate + # the classic one. + ln -s /usr/lib/xorg/modules/dri/swrastg_dri.so \ + ${DESTDIR}/usr/lib/xorg/modules/dri/swrast_dri.so }