diff options
Diffstat (limited to 'media-libs/glide-v3/files/glide-v3-3.10-hwcBufferLfbAddr-conflict.patch')
-rw-r--r-- | media-libs/glide-v3/files/glide-v3-3.10-hwcBufferLfbAddr-conflict.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/media-libs/glide-v3/files/glide-v3-3.10-hwcBufferLfbAddr-conflict.patch b/media-libs/glide-v3/files/glide-v3-3.10-hwcBufferLfbAddr-conflict.patch new file mode 100644 index 000000000000..27c30bb03a82 --- /dev/null +++ b/media-libs/glide-v3/files/glide-v3-3.10-hwcBufferLfbAddr-conflict.patch @@ -0,0 +1,27 @@ +--- glide3x/h3/minihwc/linhwc.c 2005-12-05 12:07:40.000000000 -0800 ++++ glide3x/h3/minihwc/linhwc.c 2005-12-05 12:08:15.000000000 -0800 +@@ -290,6 +290,9 @@ + return FXTRUE; + } + ++static FxU32 ++hwcBufferLfbAddr(const hwcBoardInfo *bInfo, FxU32 physAddress); ++ + FxBool + hwcAllocBuffers(hwcBoardInfo *bInfo, FxU32 nColBuffers, FxU32 nAuxBuffers) + { +--- glide3x/h3/glide3/src/xdraw2.inc.S 2005-12-05 12:24:16.000000000 -0800 ++++ glide3x/h3/glide3/src/xdraw2.inc.S 2005-12-05 12:26:01.000000000 -0800 +@@ -812,9 +812,12 @@ + #define packCol %edi + #define tempVal %edi + ++.ifndef GR_FIFO_WRITE_DEFINED + .macro GR_FIFO_WRITE __addr __offset __data + mov \__data , \__offset(\__addr) + .endm /* GR_FIFO_WRITE */ ++.equ GR_FIFO_WRITE_DEFINED, 1 ++.endif + + .align 4 + LOCAL(__triBegin): |