pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/metamail Replace local getline() function to avoi...
details: https://anonhg.NetBSD.org/pkgsrc/rev/518c2f8ab713
branches: trunk
changeset: 566206:518c2f8ab713
user: pgoyette <pgoyette%pkgsrc.org@localhost>
date: Sat Oct 17 18:41:07 2009 +0000
description:
Replace local getline() function to avoid conflict with native NetBSD
getline()
OK wiz@
diffstat:
mail/metamail/distinfo | 3 ++-
mail/metamail/patches/patch-at | 29 +++++++++++++++++++++++++++++
2 files changed, 31 insertions(+), 1 deletions(-)
diffs (47 lines):
diff -r 5bc9547ca0a8 -r 518c2f8ab713 mail/metamail/distinfo
--- a/mail/metamail/distinfo Sat Oct 17 17:43:17 2009 +0000
+++ b/mail/metamail/distinfo Sat Oct 17 18:41:07 2009 +0000
@@ -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-aq) = 90f84381aaf91db03cecef84d9433c3ffd1152db
SHA1 (patch-ar) = 21e137edd2bb1dc09048f7ef23e86859d698d848
SHA1 (patch-as) = 8d8c31f1ff508e9d7fc73a03a5f7ba63faa118ef
+SHA1 (patch-at) = 762e66da70a6abbaeb84932d388abde4cb38f327
diff -r 5bc9547ca0a8 -r 518c2f8ab713 mail/metamail/patches/patch-at
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/metamail/patches/patch-at Sat Oct 17 18:41:07 2009 +0000
@@ -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;
+ }
Home |
Main Index |
Thread Index |
Old Index