Date: Sun, 4 Nov 2001 22:35:19 -0800 (PST) From: Eric Anholt <anholt@positron.anholt.dyn.dhs.org> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/31767: Fix glide3 includes for DRI compile Message-ID: <200111050635.fA56ZJb16009@positron.anholt.dyn.dhs.org>
next in thread | raw e-mail | index | archive | help
>Number: 31767 >Category: ports >Synopsis: Fix glide3 includes for DRI compile >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Nov 04 22:40:00 PST 2001 >Closed-Date: >Last-Modified: >Originator: Eric Anholt >Release: FreeBSD 4.4-STABLE i386 >Organization: >Environment: System: FreeBSD positron.anholt.dyn.dhs.org 4.4-STABLE FreeBSD 4.4-STABLE #7: Fri Oct 26 01:15:50 PDT 2001 anholt@positron.anholt.dyn.dhs.org:/usr/src/stable/sys/compile/MYKERNEL i386 >Description: Fixes includes from glide3 that prevented DRI compiling (making the port useless). Run the shar file from ports/graphics/glide3/ >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # files/patch-h3-glide_h # files/patch-h5-glide_h # echo x - files/patch-h3-glide_h sed 's/^X//' >files/patch-h3-glide_h << 'END-of-files/patch-h3-glide_h' X--- h3/glide3/src/glide.h.orig Tue Oct 30 21:44:35 2001 X+++ h3/glide3/src/glide.h Tue Oct 30 21:45:00 2001 X@@ -52,9 +52,7 @@ X typedef FxU32 GrColor_t; X typedef FxU8 GrAlpha_t; X typedef FxU32 GrMipMapId_t; X-#if defined(DRI_BUILD) X typedef FxU32 GrStipplePattern_t; X-#endif X typedef FxU8 GrFog_t; X typedef AnyPtr GrContext_t; X typedef int (FX_CALL *GrProc)(); X@@ -253,12 +251,10 @@ X #define GR_DITHER_2x2 0x1 X #define GR_DITHER_4x4 0x2 X X-#if defined(DRI_BUILD) X typedef FxI32 GrStippleMode_t; X #define GR_STIPPLE_DISABLE 0x0 X #define GR_STIPPLE_PATTERN 0x1 X #define GR_STIPPLE_ROTATE 0x2 X-#endif /* DRI_BUILD */ X X typedef FxI32 GrFogMode_t; X #define GR_FOG_DISABLE 0x0 X@@ -709,13 +705,11 @@ X FX_ENTRY void FX_CALL X grDitherMode( GrDitherMode_t mode ); X X-#if defined(DRI_BUILD) X FX_ENTRY void FX_CALL X grStippleMode( GrStippleMode_t mode ); X X FX_ENTRY void FX_CALL X grStipplePattern( GrStipplePattern_t mode ); X-#endif /* DRI_BUILD */ X X FX_ENTRY void FX_CALL X grFogColorValue( GrColor_t fogcolor ); END-of-files/patch-h3-glide_h echo x - files/patch-h5-glide_h sed 's/^X//' >files/patch-h5-glide_h << 'END-of-files/patch-h5-glide_h' X--- h5/glide3/src/glide.h.orig Tue Oct 30 21:44:39 2001 X+++ h5/glide3/src/glide.h Tue Oct 30 21:45:19 2001 X@@ -53,9 +53,7 @@ X typedef FxU32 GrColor_t; X typedef FxU8 GrAlpha_t; X typedef FxU32 GrMipMapId_t; X-#ifdef DRI_BUILD X typedef FxU32 GrStipplePattern_t; X-#endif /* DRI_BUILD */ X typedef FxU8 GrFog_t; X typedef AnyPtr GrContext_t; X typedef int (FX_CALL *GrProc)(); X@@ -244,12 +242,10 @@ X #define GR_DITHER_2x2 0x1 X #define GR_DITHER_4x4 0x2 X X-#ifdef DRI_BUILD X typedef FxI32 GrStippleMode_t; X #define GR_STIPPLE_DISABLE 0x0 X #define GR_STIPPLE_PATTERN 0x1 X #define GR_STIPPLE_ROTATE 0x2 X-#endif /* DRI_BUILD */ X X typedef FxI32 GrFogMode_t; X #define GR_FOG_DISABLE 0x0 X@@ -745,13 +741,11 @@ X FX_ENTRY void FX_CALL X grDepthRange( FxFloat n, FxFloat f ); X X-#ifdef DRI_BUILD X FX_ENTRY void FX_CALL X grStippleMode( GrStippleMode_t mode ); X X FX_ENTRY void FX_CALL X grStipplePattern( GrStipplePattern_t mode ); X-#endif /* DRI_BUILD */ X X FX_ENTRY void FX_CALL X grViewport( FxI32 x, FxI32 y, FxI32 width, FxI32 height ); END-of-files/patch-h5-glide_h exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111050635.fA56ZJb16009>