$OpenBSD: patch-texk_web2c_luatexdir_tex_printing_w,v 1.1 2011/11/23 12:00:45 edd Exp $

line number fix on 2011 stable branch: http://tug.org/pipermail/tldistro/2011q4/000148.html

--- texk/web2c/luatexdir/tex/printing.w.origy	Tue Apr 12 15:17:47 2011
+++ texk/web2c/luatexdir/tex/printing.w	Sat Oct  1 13:48:55 2011
@@ -946,7 +946,7 @@ void print_file_line(void)
         if (level == in_open)
             print_int(line);
         else
-            print_int(line_stack[iindex + 1 - (in_open - level)]);
+            print_int(line_stack[level + 1]);
         tprint(": ");
     }
 }
