pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/procmail Changet getline() to get_line()



details:   https://anonhg.NetBSD.org/pkgsrc/rev/353542408ab3
branches:  trunk
changeset: 396040:353542408ab3
user:      smb <smb%pkgsrc.org@localhost>
date:      Sat Jul 18 03:15:18 2009 +0000

description:
Changet getline() to get_line()

diffstat:

 mail/procmail/Makefile         |   4 ++--
 mail/procmail/distinfo         |   6 +++++-
 mail/procmail/patches/patch-ba |  11 +++++++++++
 mail/procmail/patches/patch-bb |  22 ++++++++++++++++++++++
 mail/procmail/patches/patch-bc |   8 ++++++++
 mail/procmail/patches/patch-bd |  11 +++++++++++
 6 files changed, 59 insertions(+), 3 deletions(-)

diffs (99 lines):

diff -r 01e4b712c89d -r 353542408ab3 mail/procmail/Makefile
--- a/mail/procmail/Makefile    Sat Jul 18 03:04:41 2009 +0000
+++ b/mail/procmail/Makefile    Sat Jul 18 03:15:18 2009 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.42 2008/02/08 03:14:18 gdt Exp $
+# $NetBSD: Makefile,v 1.43 2009/07/18 03:15:18 smb Exp $
 #
 
 DISTNAME=      procmail-3.22
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    mail
 MASTER_SITES=  ftp://ftp.procmail.org/pub/procmail/
 
diff -r 01e4b712c89d -r 353542408ab3 mail/procmail/distinfo
--- a/mail/procmail/distinfo    Sat Jul 18 03:04:41 2009 +0000
+++ b/mail/procmail/distinfo    Sat Jul 18 03:15:18 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.11 2008/03/16 22:05:01 tnn Exp $
+$NetBSD: distinfo,v 1.12 2009/07/18 03:15:18 smb Exp $
 
 SHA1 (procmail-3.22.tar.gz) = cd4e44c15559816453fd60349e5a32289f6f2965
 RMD160 (procmail-3.22.tar.gz) = e609ec94ea9ab3b93629c62b3e29add497806483
@@ -10,3 +10,7 @@
 SHA1 (patch-ae) = 91a3f83d41ba84e218a14c8bfc262fdbb1bc252c
 SHA1 (patch-af) = 889f937f50561308c644d5a4bd836eccabbb2938
 SHA1 (patch-ag) = 66ae907f1b7ccfa10b5278443a9d9b0277923e61
+SHA1 (patch-ba) = 5b0d2513e5320de26696cfaad9475f462579dae3
+SHA1 (patch-bb) = fd96d7c5adf02d0c264dfa080268c1f27e9f0f10
+SHA1 (patch-bc) = 663b92c51f875fb5b55eba6aa056c91aa0fb5a97
+SHA1 (patch-bd) = cba78a1551d850f5ab8507949265f4c4d1215545
diff -r 01e4b712c89d -r 353542408ab3 mail/procmail/patches/patch-ba
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/procmail/patches/patch-ba    Sat Jul 18 03:15:18 2009 +0000
@@ -0,0 +1,11 @@
+--- src/formail.c.orig 2009-07-17 23:04:16.000000000 -0400
++++ src/formail.c      2009-07-17 23:04:16.000000000 -0400
+@@ -819,7 +819,7 @@
+       { if(split)                    /* gobble up the next start separator */
+        { buffilled=0;
+ #ifdef sMAILBOX_SEPARATOR
+-         getline();buffilled=0;                /* but only if it's defined */
++         get_line();buffilled=0;               /* but only if it's defined */
+ #endif
+          if(buflast!=EOF)                                        /* if any */
+             goto splitit;
diff -r 01e4b712c89d -r 353542408ab3 mail/procmail/patches/patch-bb
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/procmail/patches/patch-bb    Sat Jul 18 03:15:18 2009 +0000
@@ -0,0 +1,22 @@
+--- src/fields.c.orig  2009-07-17 23:04:16.000000000 -0400
++++ src/fields.c       2009-07-17 23:04:16.000000000 -0400
+@@ -110,16 +110,16 @@
+                   /* try and append one valid field to rdheader from stdin */
+ int readhead P((void))
+ { int idlen;
+-  getline();
++  get_line();
+   if((idlen=breakfield(buf,buffilled))<=0) /* not the start of a valid field */
+      return 0;
+   if(idlen==STRLEN(FROM)&&eqFrom_(buf))                       /* it's a From_ line */
+    { if(rdheader)
+       return 0;                              /* the From_ line was a fake! */
+-     for(;buflast=='>';getline());        /* gather continued >From_ lines */
++     for(;buflast=='>';get_line());       /* gather continued >From_ lines */
+    }
+   else
+-     for(;;getline())               /* get the rest of the continued field */
++     for(;;get_line())                      /* get the rest of the continued field */
+       { switch(buflast)                            /* will this line be continued? */
+        { case ' ':case '\t':                            /* yep, it sure is */
+             continue;
diff -r 01e4b712c89d -r 353542408ab3 mail/procmail/patches/patch-bc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/procmail/patches/patch-bc    Sat Jul 18 03:15:18 2009 +0000
@@ -0,0 +1,8 @@
+--- src/formisc.h.orig 2009-07-17 23:04:16.000000000 -0400
++++ src/formisc.h      2009-07-17 23:04:16.000000000 -0400
+@@ -17,4 +17,4 @@
+ char*
+  skipwords P((char*start));
+ int
+- getline P((void));
++ get_line P((void));
diff -r 01e4b712c89d -r 353542408ab3 mail/procmail/patches/patch-bd
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/procmail/patches/patch-bd    Sat Jul 18 03:15:18 2009 +0000
@@ -0,0 +1,11 @@
+--- src/formisc.c.orig 2009-07-17 23:04:16.000000000 -0400
++++ src/formisc.c      2009-07-17 23:04:16.000000000 -0400
+@@ -115,7 +115,7 @@
+   buf[buffilled++]=c;
+ }
+ 
+-int getline P((void))                    /* read a newline-terminated line */
++int get_line P((void))                           /* read a newline-terminated line */
+ { if(buflast==EOF)                     /* at the end of our Latin already? */
+    { loadchar('\n');                                    /* fake empty line */
+      return EOF;                                        /* spread the word */



Home | Main Index | Thread Index | Old Index