$NetBSD: patch-ad,v 1.4 2005/11/03 22:35:53 rillig Exp $

--- src/input.c.orig
+++ src/input.c
@@ -313,7 +313,7 @@
 static char *lineBuffer = NULL;   /* getline() does the initial allocation */
 #else
 #define LINEBUFFER_SIZE 1000
-static char lineBuffer[LINEBUFFER_SIZE];
+static signed char lineBuffer[LINEBUFFER_SIZE];
 #endif
 static int lineLength = 0;
 static int inCodeBlock = FALSE; /* Inside \begin{code}..\end{code} */
