pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/qpopper qpopper: add missing includes



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0a84e8f50274
branches:  trunk
changeset: 368410:0a84e8f50274
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sat Sep 16 15:30:11 2017 +0000

description:
qpopper: add missing includes

diffstat:

 mail/qpopper/distinfo         |   5 +++--
 mail/qpopper/patches/patch-ap |  22 ++++++++++++++++++----
 2 files changed, 21 insertions(+), 6 deletions(-)

diffs (64 lines):

diff -r 5a32eed9ebd6 -r 0a84e8f50274 mail/qpopper/distinfo
--- a/mail/qpopper/distinfo     Sat Sep 16 15:23:27 2017 +0000
+++ b/mail/qpopper/distinfo     Sat Sep 16 15:30:11 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.20 2016/03/26 23:52:37 joerg Exp $
+$NetBSD: distinfo,v 1.21 2017/09/16 15:30:11 tnn Exp $
 
 SHA1 (qpopper4.1.0.tar.gz) = 7806c230cb2b87d131c356de6ce85160650b5aea
 RMD160 (qpopper4.1.0.tar.gz) = 5254dd252739b2465795a0161bc2fed82adffbcc
@@ -13,6 +13,7 @@
 SHA1 (patch-ag) = 401408f7c6150ec41cecb85d166e7e338b9a9e5f
 SHA1 (patch-al) = 93d3c6cc3deee57c707abeb131febbd057a1ef57
 SHA1 (patch-am) = 05cc53a56205d4db8bb7914437e788117d58b212
-SHA1 (patch-ap) = 1a9df8496a0190fc56db04630b415b04ba125a21
+SHA1 (patch-ap) = a0c2cef62ce6ddbffdd6c19764ea54e8674dae34
+SHA1 (patch-popper_main.c) = a2e11c4d4350209e4de4c01a33b32d61a40350e0
 SHA1 (patch-popper_pop__config.c) = 504b98bf5d4ee93d8530f68a1f4ea813b46b5c92
 SHA1 (patch-popper_pop__tls__openssl.c) = 7de9032306df0993c3455bf3a64a9e4cc4da4058
diff -r 5a32eed9ebd6 -r 0a84e8f50274 mail/qpopper/patches/patch-ap
--- a/mail/qpopper/patches/patch-ap     Sat Sep 16 15:23:27 2017 +0000
+++ b/mail/qpopper/patches/patch-ap     Sat Sep 16 15:30:11 2017 +0000
@@ -1,8 +1,22 @@
-$NetBSD: patch-ap,v 1.4 2012/03/22 14:13:29 taca Exp $
+$NetBSD: patch-ap,v 1.5 2017/09/16 15:30:11 tnn Exp $
 
 --- popper/main.c.orig 2011-05-30 19:13:39.000000000 +0000
 +++ popper/main.c
-@@ -310,6 +310,7 @@ main ( int argc, char *argv[] )
+@@ -233,8 +233,13 @@ main ( int argc, char *argv[] )
+  * System prototypes (functions often missing prototypes in
+  * system header files)
+  */
++#if defined(SOME_OLD_PLATFORM)
+ void bzero();
+ pid_t wait3();
++#else
++#include <strings.h>
++#include <sys/wait.h>
++#endif
+ 
+ 
+ /*
+@@ -310,6 +315,7 @@ main ( int argc, char *argv[] )
      fd_set              fdset_templ;
      fd_set              fdset_read;
      int                 fd_flags    = 0;
@@ -10,7 +24,7 @@
  
  
  #ifdef USE_PAM
-@@ -781,7 +782,10 @@ main ( int argc, char *argv[] )
+@@ -781,7 +787,10 @@ main ( int argc, char *argv[] )
          TRACE ( trace_file, POP_DEBUG, HERE, "listening using socket fd %d",
                  sockfd );
  
@@ -22,7 +36,7 @@
  
          /*
           * Set file descriptor to be non-blocking in case there isn't really a
-@@ -823,6 +827,16 @@ main ( int argc, char *argv[] )
+@@ -823,6 +832,16 @@ main ( int argc, char *argv[] )
      signal ( SIGHUP,  VOIDSTAR hupit   );
      signal ( SIGTERM, VOIDSTAR cleanup );
  



Home | Main Index | Thread Index | Old Index