pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics Sync MesaLib with upstream mesa_7_0_branch. ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ecaa48d2a9ba
branches:  trunk
changeset: 548701:ecaa48d2a9ba
user:      bjs <bjs%pkgsrc.org@localhost>
date:      Tue Oct 21 06:25:26 2008 +0000

description:
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:

 graphics/Mesa/Makefile.version    |  10 +++++-----
 graphics/MesaLib/Makefile         |   4 ++--
 graphics/MesaLib/distinfo         |   6 +++++-
 graphics/MesaLib/patches/patch-az |  15 +++++++++++++++
 4 files changed, 27 insertions(+), 8 deletions(-)

diffs (75 lines):

diff -r 0afbf5bf9917 -r ecaa48d2a9ba graphics/Mesa/Makefile.version
--- a/graphics/Mesa/Makefile.version    Tue Oct 21 01:24:34 2008 +0000
+++ b/graphics/Mesa/Makefile.version    Tue Oct 21 06:25:26 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.version,v 1.1 2008/09/18 21:10:28 bjs Exp $
+# $NetBSD: Makefile.version,v 1.2 2008/10/21 06:25:26 bjs Exp $
 #
 # When changing this version, please run "make distinfo" in the following
 # package directories:
@@ -14,9 +14,9 @@
 
 MESA_VERSION=          7.0.4
 MESA_PKGVERSION=       ${MESA_VERSION}${MESA_PATCHLEVEL}
-#MESA_PATCHFILES=      001 002 003
+MESA_PATCHFILES=       001
 MESA_PATCHLEVEL=       .1
 
-#PATCHFILES=           ${MESA_PATCHFILES:@.p.@Mesa-${MESA_VERSION}-${.p.}@}
-#PATCH_SITES=          ftp://ftp.NetBSD.org/pub/NetBSD/misc/bjs/patchfiles/
-#PATCH_DIST_STRIP=     -p1
+PATCHFILES=            ${MESA_PATCHFILES:@.p.@Mesa-${MESA_VERSION}-${.p.}@}
+PATCH_SITES=           ftp://ftp.NetBSD.org/pub/NetBSD/misc/bjs/patchfiles/
+PATCH_DIST_STRIP=      -p0
diff -r 0afbf5bf9917 -r ecaa48d2a9ba graphics/MesaLib/Makefile
--- a/graphics/MesaLib/Makefile Tue Oct 21 01:24:34 2008 +0000
+++ b/graphics/MesaLib/Makefile Tue Oct 21 06:25:26 2008 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.73 2008/09/18 21:10:28 bjs Exp $
+# $NetBSD: Makefile,v 1.74 2008/10/21 06:25:26 bjs Exp $
 
 PKGNAME=       MesaLib-${MESA_PKGVERSION}
 COMMENT=       Graphics library similar to SGI's OpenGL
-PKGREVISION=   2
+PKGREVISION=   3
 
 MESA_HEADERS=  gl.h gl_mangle.h glext.h glx.h glxext.h \
                glx_mangle.h osmesa.h xmesa.h xmesa_x.h \
diff -r 0afbf5bf9917 -r ecaa48d2a9ba graphics/MesaLib/distinfo
--- a/graphics/MesaLib/distinfo Tue Oct 21 01:24:34 2008 +0000
+++ b/graphics/MesaLib/distinfo Tue Oct 21 06:25:26 2008 +0000
@@ -1,5 +1,8 @@
-$NetBSD: distinfo,v 1.59 2008/08/23 02:51:19 dsainty Exp $
+$NetBSD: distinfo,v 1.60 2008/10/21 06:25:26 bjs Exp $
 
+SHA1 (Mesa-7.0.4.1/Mesa-7.0.4-001) = a49b9094272abb2484447fb35c9adf3fe391a4bb
+RMD160 (Mesa-7.0.4.1/Mesa-7.0.4-001) = 1992bb054742924f1f39a19ab35e621f53e6fbf2
+Size (Mesa-7.0.4.1/Mesa-7.0.4-001) = 38003 bytes
 SHA1 (Mesa-7.0.4.1/MesaDemos-7.0.4.tar.bz2) = 1adb2010d6d3103bd57c08f228e2bbed38178e14
 RMD160 (Mesa-7.0.4.1/MesaDemos-7.0.4.tar.bz2) = 3e5b414bf1a40603367fcd0ba321b6e2caf84626
 Size (Mesa-7.0.4.1/MesaDemos-7.0.4.tar.bz2) = 1341624 bytes
@@ -27,4 +30,5 @@
 SHA1 (patch-aw) = d2c81d420aafad8ba5a2dcbe59fb331016535e32
 SHA1 (patch-ax) = 63edfecd17dfaf2a76f69ba3cedb1610738bf9cc
 SHA1 (patch-ay) = 8a5eb2d874026032f9b9c15e06abb40863a21a8a
+SHA1 (patch-az) = 168f054532760792dd7203d5474c593bead0686e
 SHA1 (patch-cb) = 0eac61e6656c8a8d6452504dd06ed6969ddbeba2
diff -r 0afbf5bf9917 -r ecaa48d2a9ba graphics/MesaLib/patches/patch-az
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/MesaLib/patches/patch-az Tue Oct 21 06:25:26 2008 +0000
@@ -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)



Home | Main Index | Thread Index | Old Index