$OpenBSD: patch-troff_node_cc,v 1.1 2010/05/09 21:26:54 robert Exp $
--- troff/node.cc.orig	Sun May  9 23:21:17 2010
+++ troff/node.cc	Sun May  9 23:22:54 2010
@@ -171,6 +171,7 @@ class tfont : public tfont_spec { (public)
   hunits get_subscript_correction(charinfo *);
   friend tfont *make_tfont(tfont_spec &);
 };
+tfont *make_tfont(tfont_spec &);
 
 inline int env_definite_font(environment *env)
 {
@@ -1527,7 +1528,7 @@ void glyph_node::operator delete(void *p)
 
 void ligature_node::operator delete(void *p)
 {
-  delete p;
+  delete[] (char *)p;
 }
 
 glyph_node::glyph_node(charinfo *c, tfont *t, node *x)
