Fix cairo port

Andrey P Klushnikov drurus at gmail.com
Sat Dec 21 21:11:19 UTC 2013


Hello.
Add please patch for /usr/ports/graphics/cairo

http://lists.freebsd.org/pipermail/freebsd-gnome/2013-August/028966.html


--- src/cairo-surface.c.orig
+++ src/cairo-surface.c
@@ -1171,6 +1171,10 @@
      * modifying the surface independently of cairo (and thus having to
      * call mark_dirty()). */
     assert (! _cairo_surface_has_snapshots (surface));
+
+    if (_cairo_surface_has_mime_data (surface))
+      _cairo_surface_detach_mime_data (surface);
+
     assert (! _cairo_surface_has_mime_data (surface));

     surface->is_clear = FALSE;

Thanks.


More information about the freebsd-gnome mailing list