aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus von Appen <mva@FreeBSD.org>2014-12-14 08:59:13 +0000
committerMarcus von Appen <mva@FreeBSD.org>2014-12-14 08:59:13 +0000
commitc379b972c4c1143280db7e2e381423bd74eca695 (patch)
treec5d0258ffccb4b04c3851508e3f243bec9179958
parent4601c6e9b8a2beabc5cf98fda691f9e7e36f04f2 (diff)
downloadports-c379b972c4c1143280db7e2e381423bd74eca695.tar.gz
ports-c379b972c4c1143280db7e2e381423bd74eca695.zip
MFH: r374641
- Unbreak after the recent print/freetype2 update Approved by: ports-secteam (rea@)
Notes
Notes: svn path=/branches/2014Q4/; revision=374693
-rw-r--r--graphics/blender/files/patch-source_blender_blenfont_intern_blf__glyph.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/blender/files/patch-source_blender_blenfont_intern_blf__glyph.c b/graphics/blender/files/patch-source_blender_blenfont_intern_blf__glyph.c
new file mode 100644
index 000000000000..97e6a8b8f785
--- /dev/null
+++ b/graphics/blender/files/patch-source_blender_blenfont_intern_blf__glyph.c
@@ -0,0 +1,13 @@
+--- source/blender/blenfont/intern/blf_glyph.c.orig 2014-12-11 06:47:44 UTC
++++ source/blender/blenfont/intern/blf_glyph.c
+@@ -262,8 +262,8 @@ GlyphBLF *blf_glyph_add(FontBLF *font, u
+ g->xoff = -1;
+ g->yoff = -1;
+ bitmap = slot->bitmap;
+- g->width = bitmap.width;
+- g->height = bitmap.rows;
++ g->width = (int)bitmap.width;
++ g->height = (int)bitmap.rows;
+
+ if (g->width && g->height) {
+ if (sharp) {