Hello community, here is the log from the commit of package cairo for openSUSE:Factory checked in at 2014-07-17 06:57:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cairo (Old) and /work/SRC/openSUSE:Factory/.cairo.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "cairo" Changes: -------- --- /work/SRC/openSUSE:Factory/cairo/cairo.changes 2014-05-05 21:14:24.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.cairo.new/cairo.changes 2014-07-17 06:57:49.000000000 +0200 @@ -1,0 +2,6 @@ +Tue Jul 8 09:13:31 UTC 2014 - fcrozat@suse.com + +- Add cairo-xlib-endianness.patch: fix crash when client and server + have different endianness [bnc#882951, fdo#63461] + +------------------------------------------------------------------- New: ---- cairo-xlib-endianness.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cairo.spec ++++++ --- /var/tmp/diff_new_pack.2EcbB6/_old 2014-07-17 06:57:50.000000000 +0200 +++ /var/tmp/diff_new_pack.2EcbB6/_new 2014-07-17 06:57:50.000000000 +0200 @@ -34,6 +34,8 @@ Patch1: cairo-disable-lto.patch # PATCH-FIX-UPSTREAM cairo-render-thin-lines.patch fdo#77298 jw@suse.com -- Fix rendering of thin lines Patch2: cairo-render-thin-lines.patch +# PATCH-FIX-UPSTREAM cairo-xlib-endianness.patch fdo#63461 bnc#882951 fcrozat@suse.com -- Fix crash when client and server have different endianness +Patch3: cairo-xlib-endianness.patch # These libraries are needed only for tests. # Do not enable tests in build systems, it causes build loop! #BuildRequires: librsvg-devel poppler-devel @@ -157,6 +159,7 @@ %endif # fix_for_fdo77298.patch %patch2 -p1 +%patch3 -p1 %build # Needed by patch0 and patch1 ++++++ cairo-xlib-endianness.patch ++++++ --- cairo/src/cairo-xlib-render-compositor.c 2013-04-12 11:22:48.010384018 +0200 +++ cairo/src/cairo-xlib-render-compositor.c.new 2013-04-12 11:23:54.362925287 +0200 @@ -1318,10 +1318,10 @@ } n = new; d = (uint32_t *) data; - do { + while (c--) { *n++ = bswap_32 (*d); d++; - } while (--c); + } data = (uint8_t *) new; } break; -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org