pkgsrc/textproc/ja-groff/patches/patch-aq
hira 8eae0e9545 Make this build with gcc4.
Add definitions of friend functions to outside of class scope.
2006-06-23 16:29:02 +00:00

13 lines
386 B
Text

$NetBSD: patch-aq,v 1.1 2006/06/23 16:29:02 hira Exp $
--- troff/node.cc.orig 2006-06-16 16:58:35.000000000 +0900
+++ troff/node.cc 2006-06-16 16:58:59.000000000 +0900
@@ -172,6 +172,8 @@
friend tfont *make_tfont(tfont_spec &);
};
+tfont *make_tfont(tfont_spec &);
+
inline int env_definite_font(environment *env)
{
return env->get_family()->make_definite(env->get_font());