diff options
author | pgoyette <pgoyette@pkgsrc.org> | 2009-10-17 18:41:07 +0000 |
---|---|---|
committer | pgoyette <pgoyette@pkgsrc.org> | 2009-10-17 18:41:07 +0000 |
commit | b9a4c75347dbef1e044ccb06625eb7dae8b2a1f3 (patch) | |
tree | 2a526e13566f7faa5eb7d5b8a0e5b82bb5663f94 /mail/metamail/patches | |
parent | 198548c0aa6a44700a610cbb3ba27135dae9a430 (diff) | |
download | pkgsrc-b9a4c75347dbef1e044ccb06625eb7dae8b2a1f3.tar.gz |
Replace local getline() function to avoid conflict with native NetBSD
getline()
OK wiz@
Diffstat (limited to 'mail/metamail/patches')
-rw-r--r-- | mail/metamail/patches/patch-at | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/mail/metamail/patches/patch-at b/mail/metamail/patches/patch-at new file mode 100644 index 00000000000..7ffffbeee45 --- /dev/null +++ b/mail/metamail/patches/patch-at @@ -0,0 +1,29 @@ +--- uue.c.orig 2009-10-16 15:17:32.000000000 -0700 ++++ uue.c 2009-10-16 15:14:38.000000000 -0700 +@@ -30,7 +30,7 @@ + } + + +-getline (buf, size, fp) ++uue_getline (buf, size, fp) + char *buf; + int size; + FILE *fp; +@@ -70,7 +70,7 @@ + char buf[63]; + + while (1) { +- if (getline (buf, sizeof buf, infp) < 0) { ++ if (uue_getline (buf, sizeof buf, infp) < 0) { + fprintf (stderr, "Premature EOF!\n"); + return; + } +@@ -82,7 +82,7 @@ + } + } + while (1) { +- if (getline (buf, sizeof buf, infp) < 0) { ++ if (uue_getline (buf, sizeof buf, infp) < 0) { + fprintf (stderr, "Premature EOF!\n"); + return; + } |