Subject: | Doesn't work with latest cairo headers |
CAIRO_FONT_TYPE_ATSUI is no longer valid in upstream Cairo, instead, it
should be CAIRO_FONT_TYPE_QUARTZ. A simple patch is attached which gets
it building again.
Subject: | perl-Cairo-ATSUItoQUARTZ.patch |
diff -up Cairo-1.045/Makefile.PL.BAD Cairo-1.045/Makefile.PL
--- Cairo-1.045/Makefile.PL.BAD 2008-04-04 16:01:19.000000000 -0400
+++ Cairo-1.045/Makefile.PL 2008-04-04 16:01:31.000000000 -0400
@@ -235,7 +235,7 @@ if ($have_cairo_1_2) {
CAIRO_FONT_TYPE_TOY
CAIRO_FONT_TYPE_FT
CAIRO_FONT_TYPE_WIN32
- CAIRO_FONT_TYPE_ATSUI
+ CAIRO_FONT_TYPE_QUARTZ
/];
$enums{cairo_pattern_type_t} = [qw/