From 5f8de423f190bbb79a62f804151bc24824fa32d8 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Fri, 2 Feb 2018 04:16:08 -0500 Subject: Add m-esr52 at 52.6.0 --- gfx/cairo/fix-build-with-Werror=return-type.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 gfx/cairo/fix-build-with-Werror=return-type.patch (limited to 'gfx/cairo/fix-build-with-Werror=return-type.patch') diff --git a/gfx/cairo/fix-build-with-Werror=return-type.patch b/gfx/cairo/fix-build-with-Werror=return-type.patch new file mode 100644 index 000000000..7cd77a597 --- /dev/null +++ b/gfx/cairo/fix-build-with-Werror=return-type.patch @@ -0,0 +1,21 @@ +diff --git a/gfx/cairo/cairo/src/cairo-quartz-surface.c b/gfx/cairo/cairo/src/cairo-quartz-surface.c +--- a/gfx/cairo/cairo/src/cairo-quartz-surface.c ++++ b/gfx/cairo/cairo/src/cairo-quartz-surface.c +@@ -436,16 +436,17 @@ _cairo_quartz_cairo_operator_to_quartz_c + case CAIRO_OPERATOR_DIFFERENCE: + case CAIRO_OPERATOR_EXCLUSION: + case CAIRO_OPERATOR_HSL_HUE: + case CAIRO_OPERATOR_HSL_SATURATION: + case CAIRO_OPERATOR_HSL_COLOR: + case CAIRO_OPERATOR_HSL_LUMINOSITY: + default: + assert (0); ++ return kPrivateCGCompositeClear; + } + } + + static cairo_int_status_t + _cairo_quartz_surface_set_cairo_operator (cairo_quartz_surface_t *surface, cairo_operator_t op) + { + ND((stderr, "%p _cairo_quartz_surface_set_cairo_operator %d\n", surface, op)); + -- cgit v1.2.3