openbsd-ports/graphics/cairomm/patches/patch-cairomm_fontface_cc
ajacoutot f4fb6cf55b Major update to cairomm-1.8.2
Remove wilfried@ from maintainer per his request.
(see HOMEPAGE for complete ChangeLog)

ok jasper@ landry@ wilfried@ (former maintainer)
2009-09-18 10:22:51 +00:00

13 lines
674 B
Plaintext

$OpenBSD: patch-cairomm_fontface_cc,v 1.1 2009/09/18 10:22:51 ajacoutot Exp $
--- cairomm/fontface.cc.orig Sat Dec 20 18:37:46 2008
+++ cairomm/fontface.cc Sun Sep 13 14:04:31 2009
@@ -309,7 +309,7 @@ UserFontFace::text_to_glyphs(const RefPtr<ScaledFont>&
// 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;
}