Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 381 - glide patch to X4.2.0
Summary: glide patch to X4.2.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-28 04:16 UTC by Travis Tilley
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
glx and dri support patch for xfree86 4.2.0 (glidepatch,789 bytes, patch)
2002-01-28 04:17 UTC, Travis Tilley
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Travis Tilley 2002-01-28 04:16:47 UTC
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)
Comment 1 Travis Tilley 2002-01-28 04:17:47 UTC
Created attachment 93 [details, diff]
glx and dri support patch for xfree86 4.2.0
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2002-02-11 10:03:55 UTC
implemented in 4.2.0-r6