pkgsrc/parallel/sge/patches/patch-cb

15 lines
511 B
Text

$NetBSD: patch-cb,v 1.1 2010/12/08 11:30:18 markd Exp $
rename getline() to avoid clash
--- source/3rdparty/sge_depend/main.c.orig 2007-07-26 15:41:43.000000000 +0000
+++ source/3rdparty/sge_depend/main.c
@@ -510,7 +510,7 @@ char *copy(str)
* Get the next line. We only return lines beginning with '#' since that
* is all this program is ever interested in.
*/
-char *getline(filep)
+char *sge_getline(filep)
register struct filepointer *filep;
{
register char *p, /* walking pointer */