this patch makes the xfree86 4.2.0 ebuild check for glide in USE, and if found compile X with glide support, which adds glx and dri extensions for voodoo cards. note that you must either have voodoo3 or voodoo4 in USE in order for my glide ebuild to build. the patch is as follows: --- ./xfree-4.2.0-r5.ebuild Sun Jan 27 04:19:53 2002 +++ ./xfree-4.2.0-r6.ebuild Sun Jan 27 18:55:28 2002 @@ -22,6 +22,7 @@ DEPEND=">=sys-libs/ncurses-5.1 >=sys-libs/zlib-1.1.3-r2 sys-devel/flex + glide? ( media-libs/glide ) sys-devel/perl" RDEPEND=">=sys-libs/ncurses-5.1" @@ -39,6 +40,10 @@ echo "#define DefaultGcc2i386Opt ${CFLAGS}" >> config/cf/host.def echo "#define GccWarningOptions -Wno" >> config/cf/host.def echo "#define DefaultCCOptions -ansi" >> config/cf/host.def + if [ "`use glide`" ]; then + echo "#define HasGlide3 YES" >> config/cf/host.def + echo "#define Glide3IncDir /usr/include/glide3" >> config/cf/host.def + fi # fix build problem (XFree86 server among others, was not # linked against libXau)
Created attachment 93 [details, diff] glx and dri support patch for xfree86 4.2.0
implemented in 4.2.0-r6