summaryrefslogtreecommitdiff
path: root/parallel/sge/patches/patch-cc
diff options
context:
space:
mode:
Diffstat (limited to 'parallel/sge/patches/patch-cc')
-rw-r--r--parallel/sge/patches/patch-cc24
1 files changed, 24 insertions, 0 deletions
diff --git a/parallel/sge/patches/patch-cc b/parallel/sge/patches/patch-cc
new file mode 100644
index 00000000000..d3ebeeb616f
--- /dev/null
+++ b/parallel/sge/patches/patch-cc
@@ -0,0 +1,24 @@
+$NetBSD: patch-cc,v 1.1 2010/12/08 11:30:18 markd Exp $
+
+rename getline() to avoid clash
+
+--- source/3rdparty/sge_depend/parse.c.orig 2008-04-16 09:11:05.000000000 +0000
++++ source/3rdparty/sge_depend/parse.c
+@@ -80,7 +80,7 @@ static int gobble(filep, file, file_red)
+ register char *line;
+ register int type;
+
+- while ((line = getline(filep))) {
++ while ((line = sge_getline(filep))) {
+ switch(type = deftype(line, filep, file_red, file, FALSE)) {
+ case IF:
+ case IFFALSE:
+@@ -571,7 +571,7 @@ int find_includes(filep, file, file_red,
+ register int type;
+ boolean recfailOK;
+
+- while ((line = getline(filep))) {
++ while ((line = sge_getline(filep))) {
+ switch(type = deftype(line, filep, file_red, file, TRUE)) {
+ case IF:
+ doif: