$OpenBSD: patch-lily_open-type-font_cc,v 1.2 2014/01/10 18:17:07 landry Exp $

Make g++-3.3.5 happy.

--- lily/open-type-font.cc.orig	Tue Jul 26 00:42:15 2011
+++ lily/open-type-font.cc	Fri Jan 10 18:54:41 2014
@@ -23,7 +23,8 @@
 
 using namespace std;
 
-#include <freetype/tttables.h>
+#include <ft2build.h>
+#include FT_TRUETYPE_TABLES_H
 
 #include "dimensions.hh"
 #include "international.hh"
@@ -220,8 +221,9 @@ Open_type_font::get_indexed_char_dimensions (size_t si
   FT_Glyph_Metrics m = face_->glyph->metrics;
   FT_Pos hb = m.horiBearingX;
   FT_Pos vb = m.horiBearingY;
-  Box b (Interval (Real (-hb), Real (m.width - hb)),
-	 Interval (Real (-vb), Real (m.height - vb)));
+  Interval ih (Real (-hb), Real (m.width - hb));
+  Interval iv (Real (-vb), Real (m.height - vb));
+  Box b (ih, iv);
 
   b.scale (design_size () / Real (face_->units_per_EM));
   return b;
