diff options
author | gahr <gahr@FreeBSD.org> | 2010-07-22 21:16:23 +0800 |
---|---|---|
committer | gahr <gahr@FreeBSD.org> | 2010-07-22 21:16:23 +0800 |
commit | 135d25ee1439002f68dc482093cc631380d9c248 (patch) | |
tree | 0aa85b0ca9abdb683ec48e4123e9577285d0e9c9 /graphics | |
parent | 314d8b0804d0088e4f82cd9497bf7d79c5d59fef (diff) | |
download | freebsd-ports-gnome-135d25ee1439002f68dc482093cc631380d9c248.tar.gz freebsd-ports-gnome-135d25ee1439002f68dc482093cc631380d9c248.tar.zst freebsd-ports-gnome-135d25ee1439002f68dc482093cc631380d9c248.zip |
- Merge in a patch from the git repository that fixes a bug when trying
to reattach a framebuffer.
Bug report: https://bugs.freedesktop.org/show_bug.cgi?id=10966
GIT commit: http://cgit.freedesktop.org/mesa/mesa/commit/?id=91c37599f621a0ec498c0f0add14f16470ca852b
Diffstat (limited to 'graphics')
-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); + |