summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorpgoyette <pgoyette@pkgsrc.org>2009-10-17 18:41:07 +0000
committerpgoyette <pgoyette@pkgsrc.org>2009-10-17 18:41:07 +0000
commit06599f280b6d27287481c1c05c4c88fc5ffc18c3 (patch)
tree2a526e13566f7faa5eb7d5b8a0e5b82bb5663f94 /mail
parent9c675ee1c8dd5eb766d9567ec58812d6d8c9f767 (diff)
downloadpkgsrc-06599f280b6d27287481c1c05c4c88fc5ffc18c3.tar.gz
Replace local getline() function to avoid conflict with native NetBSD
getline() OK wiz@
Diffstat (limited to 'mail')
-rw-r--r--mail/metamail/distinfo3
-rw-r--r--mail/metamail/patches/patch-at29
2 files changed, 31 insertions, 1 deletions
diff --git a/mail/metamail/distinfo b/mail/metamail/distinfo
index 3e0ab4725f6..7b799a57f24 100644
--- a/mail/metamail/distinfo
+++ b/mail/metamail/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.22 2008/05/10 11:52:14 obache Exp $
+$NetBSD: distinfo,v 1.23 2009/10/17 18:41:07 pgoyette Exp $
SHA1 (mm2.7.tar.Z) = 8f213baec9b17c05bcb066f616977a561757d7a6
RMD160 (mm2.7.tar.Z) = ae322cad0653140cbe7f0148ce48757df98c26b0
@@ -22,3 +22,4 @@ SHA1 (patch-ap) = ade6fba2254e7db3f9cf52acf453bb512c0a3d32
SHA1 (patch-aq) = 90f84381aaf91db03cecef84d9433c3ffd1152db
SHA1 (patch-ar) = 21e137edd2bb1dc09048f7ef23e86859d698d848
SHA1 (patch-as) = 8d8c31f1ff508e9d7fc73a03a5f7ba63faa118ef
+SHA1 (patch-at) = 762e66da70a6abbaeb84932d388abde4cb38f327
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;
+ }