aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2009-02-24 07:50:14 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2009-02-24 07:50:14 +0000
commit9efe07c8c5b4cdc0f37273a223da6871a2458550 (patch)
tree61faab43860bd6ff0e977b860be2135296cbd869
parentbb1008c45caa327a1d062fde84284def927fc0be (diff)
Notes
-rw-r--r--graphics/cairomm/files/patch-cairomm_fontface.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/cairomm/files/patch-cairomm_fontface.cc b/graphics/cairomm/files/patch-cairomm_fontface.cc
new file mode 100644
index 000000000000..18d7fc85b9d3
--- /dev/null
+++ b/graphics/cairomm/files/patch-cairomm_fontface.cc
@@ -0,0 +1,11 @@
+--- cairomm/fontface.cc.orig 2009-02-24 02:40:24.000000000 -0500
++++ cairomm/fontface.cc 2009-02-24 02:49:31.000000000 -0500
+@@ -309,7 +309,7 @@ UserFontFace::text_to_glyphs(const RefPt
+ // bool value in the user_data, which we can read back in the
+ // text_to_glyphs_cb and used as a signal to return -1 for the num_glyphs
+ // parameter.
+- cairo_font_face_set_user_data(cobj(), &USER_DATA_KEY_DEFAULT_TEXT_TO_GLYPHS, reinterpret_cast<void*>(true), NULL);
++ cairo_font_face_set_user_data(cobj(), &USER_DATA_KEY_DEFAULT_TEXT_TO_GLYPHS, (void *) (true), NULL);
+ return CAIRO_STATUS_SUCCESS;
+ }
+