MesaLib: make a symlink from swrastg_dri.so to swrast_dri.so.

Otherwise some apps that use dlopen() to the latter can still work.
This commit is contained in:
Juan RP 2011-06-21 13:38:41 +02:00
parent f0bf49e10d
commit 511480fbfe

View file

@ -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
}