diff options
author | Pietro Cerutti <gahr@FreeBSD.org> | 2010-07-22 13:16:23 +0000 |
---|---|---|
committer | Pietro Cerutti <gahr@FreeBSD.org> | 2010-07-22 13:16:23 +0000 |
commit | 12fb7db79b254a6a171de2d65a547a9fb9950caf (patch) | |
tree | bf0d51c68d5e719e11d4e976b1ec076e8570e361 /graphics/libosmesa | |
parent | ba5818af99d522d55568a31750660675503bfccd (diff) | |
download | ports-12fb7db79b254a6a171de2d65a547a9fb9950caf.tar.gz ports-12fb7db79b254a6a171de2d65a547a9fb9950caf.zip |
Notes
Diffstat (limited to 'graphics/libosmesa')
-rw-r--r-- | graphics/libosmesa/Makefile | 1 | ||||
-rw-r--r-- | graphics/libosmesa/files/patch-src-mesa-drivers-osmesa_osmesa.c | 10 |
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); + |