summaryrefslogtreecommitdiff
path: root/graphics/MesaLib/patches
diff options
context:
space:
mode:
authorbjs <bjs@pkgsrc.org>2008-10-21 06:25:26 +0000
committerbjs <bjs@pkgsrc.org>2008-10-21 06:25:26 +0000
commit9fc300342d04f5cb6afd0b69524a9bec0a8211a9 (patch)
treedd1dc220cfbb7ae79a5c45fd35c488c9bb3c5211 /graphics/MesaLib/patches
parent37454bc0cf85164ff9715ce312c0c6e4e7c7eeb1 (diff)
downloadpkgsrc-9fc300342d04f5cb6afd0b69524a9bec0a8211a9.tar.gz
Sync MesaLib with upstream mesa_7_0_branch. While here, patch
the r300 dri driver so that the __driConfigOptions symbol is visible. This is necessary for xdriinfo and driconf to work. Bump MesaLib's PKGREVISION.
Diffstat (limited to 'graphics/MesaLib/patches')
-rw-r--r--graphics/MesaLib/patches/patch-az15
1 files changed, 15 insertions, 0 deletions
diff --git a/graphics/MesaLib/patches/patch-az b/graphics/MesaLib/patches/patch-az
new file mode 100644
index 00000000000..65bf8aedfe4
--- /dev/null
+++ b/graphics/MesaLib/patches/patch-az
@@ -0,0 +1,15 @@
+$NetBSD: patch-az,v 1.1 2008/10/21 06:25:26 bjs Exp $
+
+Xdriinfo won't work for r300 unless this symbol is visible.
+
+--- src/mesa/drivers/dri/r300/radeon_screen.c.orig 2008-06-16 12:19:27.000000000 -0400
++++ src/mesa/drivers/dri/r300/radeon_screen.c
+@@ -179,7 +179,7 @@ DRI_CONF_OPT_BEGIN_V(fp_optimization,enu
+ DRI_CONF_DESC_END \
+ DRI_CONF_OPT_END
+
+-const char __driConfigOptions[] =
++PUBLIC const char __driConfigOptions[] =
+ DRI_CONF_BEGIN
+ DRI_CONF_SECTION_PERFORMANCE
+ DRI_CONF_TCL_MODE(DRI_CONF_TCL_CODEGEN)