Index: Makefile =================================================================== RCS file: /home/pcvs/ports/graphics/libosmesa/Makefile,v retrieving revision 1.6 diff -u -r1.6 Makefile --- Makefile 22 Jul 2010 13:16:23 -0000 1.6 +++ Makefile 31 Jan 2011 11:20:31 -0000 @@ -6,8 +6,7 @@ # PORTNAME= libosmesa -PORTVERSION= 7.8.2 -PORTREVISION= 1 +PORTVERSION= 7.9.1 CATEGORIES= graphics MASTER_SITES= ftp://ftp.freedesktop.org/pub/mesa/${PORTVERSION}/ DISTNAME= MesaLib-${PORTVERSION} @@ -15,7 +14,10 @@ MAINTAINER= gahr@FreeBSD.org COMMENT= Off-Screen Mesa implementation of the OpenGL API -LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2 +LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2 \ + talloc.2:${PORTSDIR}/devel/talloc +BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/libxml2mod.so:${PORTSDIR}/textproc/py-libxml2 +RUN_DEPENDS= ${BUILD_DEPENDS} CONFLICTS= mesagl-mangled-* Index: distinfo =================================================================== RCS file: /home/pcvs/ports/graphics/libosmesa/distinfo,v retrieving revision 1.2 diff -u -r1.2 distinfo --- distinfo 21 Jun 2010 10:30:46 -0000 1.2 +++ distinfo 31 Jan 2011 10:52:37 -0000 @@ -1,3 +1,2 @@ -MD5 (MesaLib-7.8.2.tar.bz2) = 6be2d343a0089bfd395ce02aaf8adb57 -SHA256 (MesaLib-7.8.2.tar.bz2) = 505bf418dceba05837f4ea1b1972b9620c35f8cb94bc4d1e6d573c15f562576d -SIZE (MesaLib-7.8.2.tar.bz2) = 5138463 +SHA256 (MesaLib-7.9.1.tar.bz2) = 403986cd83d957db17957f11c320c9562cc8675273efbaa402e88bf4e6586721 +SIZE (MesaLib-7.9.1.tar.bz2) = 5640520 Index: files/patch-configure =================================================================== RCS file: files/patch-configure diff -N files/patch-configure --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-configure 31 Jan 2011 10:52:37 -0000 @@ -0,0 +1,11 @@ +--- configure.orig 2011-01-20 07:30:27.000000000 +0000 ++++ configure 2011-01-20 07:32:39.000000000 +0000 +@@ -5127,7 +5127,7 @@ + ;; + esac + ;; +- x86_64) ++ amd64) + case "$host_os" in + linux* | *freebsd* | dragonfly*) + test "x$enable_32bit" = xyes && asm_arch=x86 || asm_arch=x86_64 Index: files/patch-src-glsl_Makefile =================================================================== RCS file: files/patch-src-glsl_Makefile diff -N files/patch-src-glsl_Makefile --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-src-glsl_Makefile 31 Jan 2011 11:13:24 -0000 @@ -0,0 +1,15 @@ +--- src/glsl/Makefile.orig 2011-01-31 12:12:57.000000000 +0100 ++++ src/glsl/Makefile 2011-01-31 12:13:06.000000000 +0100 +@@ -114,11 +114,11 @@ + $(CXX_SOURCES:.cpp=.o) + + INCLUDES = \ +- $(TALLOC_CFLAGS) \ + -I. \ + -I../mesa \ + -I../mapi \ + -I../../include \ ++ $(TALLOC_CFLAGS) \ + $(LIBRARY_INCLUDES) + + ALL_SOURCES = \ Index: files/patch-src-mesa-drivers-osmesa_osmesa.c =================================================================== RCS file: files/patch-src-mesa-drivers-osmesa_osmesa.c diff -N files/patch-src-mesa-drivers-osmesa_osmesa.c --- files/patch-src-mesa-drivers-osmesa_osmesa.c 22 Jul 2010 13:16:23 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,10 +0,0 @@ ---- src/mesa/drivers/osmesa/osmesa.c.orig 2010-07-22 15:04:03.000000000 +0200 -+++ src/mesa/drivers/osmesa/osmesa.c 2010-07-22 15:04:02.000000000 +0200 -@@ -1329,6 +1329,7 @@ - * size. - */ - osmesa->rb = new_osmesa_renderbuffer(&osmesa->mesa, osmesa->format, type); -+ _mesa_remove_renderbuffer(osmesa->gl_buffer, BUFFER_FRONT_LEFT); - _mesa_add_renderbuffer(osmesa->gl_buffer, BUFFER_FRONT_LEFT, osmesa->rb); - assert(osmesa->rb->RefCount == 2); - Index: files/patch-src-mesa-main_macros.h =================================================================== RCS file: files/patch-src-mesa-main_macros.h diff -N files/patch-src-mesa-main_macros.h --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-src-mesa-main_macros.h 31 Jan 2011 10:52:37 -0000 @@ -0,0 +1,10 @@ +--- src/mesa/main/macros.h.orig 2010-10-19 08:03:53.000000000 +0000 ++++ src/mesa/main/macros.h 2010-10-19 08:05:32.000000000 +0000 +@@ -33,6 +33,7 @@ + + #include "imports.h" + ++#define log2(x) (log(x) / log(2)) + + /** + * \name Integer / float conversion for colors, normals, etc.