summaryrefslogtreecommitdiff
path: root/graphics/MesaLib
diff options
context:
space:
mode:
authorrillig <rillig>2006-01-26 15:16:16 +0000
committerrillig <rillig>2006-01-26 15:16:16 +0000
commit453573f82ac8ab8fb366a157a235e4d0224b5073 (patch)
tree0feb4f49ae0c3b83279fa279c096489661545a64 /graphics/MesaLib
parent2f3569cb95d72bd37e51883a8983227643b302ec (diff)
downloadpkgsrc-453573f82ac8ab8fb366a157a235e4d0224b5073.tar.gz
Added patch-ak, which fixes the bulk build for NetBSD 1.6.2/i386.
Diffstat (limited to 'graphics/MesaLib')
-rw-r--r--graphics/MesaLib/distinfo3
-rw-r--r--graphics/MesaLib/patches/patch-ak25
2 files changed, 27 insertions, 1 deletions
diff --git a/graphics/MesaLib/distinfo b/graphics/MesaLib/distinfo
index a079fb10a61..9708eb54c82 100644
--- a/graphics/MesaLib/distinfo
+++ b/graphics/MesaLib/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.33 2006/01/19 12:53:17 adam Exp $
+$NetBSD: distinfo,v 1.34 2006/01/26 15:16:16 rillig Exp $
SHA1 (Mesa-6.4.1/MesaLib-6.4.1.tar.bz2) = efb70276ccd9cd13dbd7d5e581213a5ca3e4ef25
RMD160 (Mesa-6.4.1/MesaLib-6.4.1.tar.bz2) = e3a54d6442fa5d6e446bb0b6704bd22c31fb4927
@@ -19,3 +19,4 @@ SHA1 (patch-ag) = 722234c02093e0d3b10659fa83bb14c7f2e7a8ac
SHA1 (patch-ah) = b9ee33c497b8abe2af004a4f13219a19f413f30e
SHA1 (patch-ai) = 3c5e4cc1e054514111d50c1d01257f4647b14558
SHA1 (patch-aj) = a805947e1aaf73a798fd3a8c6e39bf1bd62afc3a
+SHA1 (patch-ak) = 6c0d2d3b9a6b0c237b541c9c352584be5a7c66d1
diff --git a/graphics/MesaLib/patches/patch-ak b/graphics/MesaLib/patches/patch-ak
new file mode 100644
index 00000000000..a8a6ed3244a
--- /dev/null
+++ b/graphics/MesaLib/patches/patch-ak
@@ -0,0 +1,25 @@
+$NetBSD: patch-ak,v 1.1 2006/01/26 15:16:16 rillig Exp $
+
+Declarations inside of macros are evil. Even more if they are not preceded
+by an additional opening brace.
+
+--- src/mesa/swrast/s_triangle.c.orig 2006-01-23 21:27:28.000000000 +0100
++++ src/mesa/swrast/s_triangle.c 2006-01-23 21:27:06.000000000 +0100
+@@ -163,6 +163,7 @@ _swrast_culltriangle( GLcontext *ctx,
+ }
+
+ #define RENDER_SPAN( span ) \
++{ \
+ GLuint i; \
+ span.intTex[0] -= FIXED_HALF; /* off-by-one error? */ \
+ span.intTex[1] -= FIXED_HALF; \
+@@ -177,7 +178,8 @@ _swrast_culltriangle( GLcontext *ctx,
+ span.intTex[0] += span.intTexStep[0]; \
+ span.intTex[1] += span.intTexStep[1]; \
+ } \
+- rb->PutRowRGB(ctx, rb, span.end, span.x, span.y, span.array->rgb, NULL);
++ rb->PutRowRGB(ctx, rb, span.end, span.x, span.y, span.array->rgb, NULL); \
++}
+
+ #include "s_tritemp.h"
+