aboutsummaryrefslogtreecommitdiff
path: root/graphics/libosmesa
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2010-07-22 13:16:23 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2010-07-22 13:16:23 +0000
commit12fb7db79b254a6a171de2d65a547a9fb9950caf (patch)
treebf0d51c68d5e719e11d4e976b1ec076e8570e361 /graphics/libosmesa
parentba5818af99d522d55568a31750660675503bfccd (diff)
downloadports-12fb7db79b254a6a171de2d65a547a9fb9950caf.tar.gz
ports-12fb7db79b254a6a171de2d65a547a9fb9950caf.zip
Notes
Diffstat (limited to 'graphics/libosmesa')
-rw-r--r--graphics/libosmesa/Makefile1
-rw-r--r--graphics/libosmesa/files/patch-src-mesa-drivers-osmesa_osmesa.c10
2 files changed, 11 insertions, 0 deletions
diff --git a/graphics/libosmesa/Makefile b/graphics/libosmesa/Makefile
index 33a1e4513cf4..c1b7c3f03540 100644
--- a/graphics/libosmesa/Makefile
+++ b/graphics/libosmesa/Makefile
@@ -7,6 +7,7 @@
PORTNAME= libosmesa
PORTVERSION= 7.8.2
+PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.freedesktop.org/pub/mesa/${PORTVERSION}/
DISTNAME= MesaLib-${PORTVERSION}
diff --git a/graphics/libosmesa/files/patch-src-mesa-drivers-osmesa_osmesa.c b/graphics/libosmesa/files/patch-src-mesa-drivers-osmesa_osmesa.c
new file mode 100644
index 000000000000..65015740fd70
--- /dev/null
+++ b/graphics/libosmesa/files/patch-src-mesa-drivers-osmesa_osmesa.c
@@ -0,0 +1,10 @@
+--- 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);
+