Gentoo Archives: gentoo-commits

From: "Chi-Thanh Christopher Nguyen (chithanh)" <chithanh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-libs/cairo/files: cairo-1.12.10-xshm-corruption.patch cairo-1.12.2-surfaceless-extension.patch cairo-1.2.4-lcd-cleartype-like.diff cairo-1.8.10-libpng14.patch cairo-1.12.2-fdr-nodl.patch cairo-1.12.2-sphinx-nodl.patch
Date: Thu, 31 Jan 2013 13:35:55
Message-Id: 20130131133551.9191D2171E@flycatcher.gentoo.org
1 chithanh 13/01/31 13:35:51
2
3 Added: cairo-1.12.10-xshm-corruption.patch
4 Removed: cairo-1.12.2-surfaceless-extension.patch
5 cairo-1.2.4-lcd-cleartype-like.diff
6 cairo-1.8.10-libpng14.patch
7 cairo-1.12.2-fdr-nodl.patch
8 cairo-1.12.2-sphinx-nodl.patch
9 Log:
10 Add patch to fix graphics corruption, bug #454468.
11
12 (Portage version: 2.1.11.31/cvs/Linux x86_64, unsigned Manifest commit)
13
14 Revision Changes Path
15 1.1 x11-libs/cairo/files/cairo-1.12.10-xshm-corruption.patch
16
17 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/cairo/files/cairo-1.12.10-xshm-corruption.patch?rev=1.1&view=markup
18 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/cairo/files/cairo-1.12.10-xshm-corruption.patch?rev=1.1&content-type=text/plain
19
20 Index: cairo-1.12.10-xshm-corruption.patch
21 ===================================================================
22 From c006b886d28a772d7a62cec52ab7e0c8196c36f6 Mon Sep 17 00:00:00 2001
23 From: Chris Wilson <chris@×××××××××××××××.uk>
24 Date: Tue, 29 Jan 2013 03:01:31 +0000
25 Subject: xlib/shm: Force synchronisation for scratch SHM image buffers
26
27 The scratch image buffers are used for uploads to the xserver and so we
28 must be careful not to overwrite active SHM segments. Unfortunately we
29 told the core SHM allocator that we would sync before using the images,
30 which was a lie.
31
32 Reported-by: Michael Natterer <mitch@××××.org>
33 Signed-off-by: Chris Wilson <chris@×××××××××××××××.uk>
34 ---
35 diff --git a/src/cairo-xlib-surface-shm.c b/src/cairo-xlib-surface-shm.c
36 index 43cecdf..32c7033 100644
37 --- a/src/cairo-xlib-surface-shm.c
38 +++ b/src/cairo-xlib-surface-shm.c
39 @@ -1155,7 +1155,7 @@ _cairo_xlib_surface_create_shm__image (cairo_xlib_surface_t *surface,
40 return NULL;
41
42 return &_cairo_xlib_shm_surface_create (surface, format, width, height,
43 - TRUE, 0)->image.base;
44 + FALSE, 0)->image.base;
45 }
46
47 cairo_surface_t *
48 --
49 cgit v0.9.0.2-2-gbebe