$NetBSD: patch-av,v 1.1 2009/07/17 06:58:52 minskim Exp $

--- mpware/mpto.c.orig	2008-04-11 09:33:03.000000000 -0700
+++ mpware/mpto.c
@@ -97,7 +97,7 @@ usage(char *progn)
 }
 
 char *
-getline(void)
+mp_getline(void)
 {				/* returns NULL on EOF or error, otherwise buf */
     int c;
     unsigned loc = 0;
@@ -302,7 +302,7 @@ copytex(void)
     char *res = NULL;
     do {
 	if (*aa == 0)
-	  if ((aa = getline()) == NULL)
+	  if ((aa = mp_getline()) == NULL)
 	    err("btex section does not end");
 
 	if (getbta(aa) && *tt == 'e') {
@@ -483,7 +483,7 @@ Current maintainer: Taco Hoekwater.\n");
 	postverb = troff_postverb;
     }
     printf("%s", predoc);
-    while (getline() != NULL)
+    while (mp_getline() != NULL)
 	do_line();
     printf("%s", postdoc);
     exit(0);
