gfx/cairo/cairo-qt-compile.patch

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     1 # HG changeset patch
     2 # Parent 2563fa2763b0ea83394e785340afa4c564ceab57
     3 diff -r 2563fa2763b0 -r 9ab15e95a354 gfx/cairo/cairo/src/cairo-qt-surface.cpp
     4 --- a/gfx/cairo/cairo/src/cairo-qt-surface.cpp	Thu Apr 29 06:55:11 2010 +0300
     5 +++ b/gfx/cairo/cairo/src/cairo-qt-surface.cpp	Thu Apr 29 06:55:51 2010 +0300
     6 @@ -204,6 +204,7 @@
     7      case CAIRO_OPERATOR_HSL_LUMINOSITY:
     8  	ASSERT_NOT_REACHED;
     9      }
    10 +    return QPainter::CompositionMode_Source;
    11  }
    13  static bool
    14 @@ -668,7 +669,6 @@
    15  static cairo_status_t
    16  _cairo_qt_surface_clone_similar (void *abstract_surface,
    17  				 cairo_surface_t *src,
    18 -				 cairo_content_t  content,
    19  				 int              src_x,
    20  				 int              src_y,
    21  				 int              width,

mercurial