diff options
author | tnn <tnn@pkgsrc.org> | 2017-09-16 15:30:11 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2017-09-16 15:30:11 +0000 |
commit | e848614801e706e3dd9e23d1b842ed482bbf7d08 (patch) | |
tree | f53703a13b0690f3f812bb96ac9cb4cbe014b9d1 /mail/qpopper | |
parent | 77c7c5e8308c015d0709fdab1292ec5cc166f1c1 (diff) | |
download | pkgsrc-e848614801e706e3dd9e23d1b842ed482bbf7d08.tar.gz |
qpopper: add missing includes
Diffstat (limited to 'mail/qpopper')
-rw-r--r-- | mail/qpopper/distinfo | 5 | ||||
-rw-r--r-- | mail/qpopper/patches/patch-ap | 22 |
2 files changed, 21 insertions, 6 deletions
diff --git a/mail/qpopper/distinfo b/mail/qpopper/distinfo index 50b2e15ca87..35b1d620823 100644 --- a/mail/qpopper/distinfo +++ b/mail/qpopper/distinfo @@ -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-af) = a2100b026a0bab0be8c99c211ec0bd14d4405f32 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 --git a/mail/qpopper/patches/patch-ap b/mail/qpopper/patches/patch-ap index 2498241403b..d51e0e304ea 100644 --- a/mail/qpopper/patches/patch-ap +++ b/mail/qpopper/patches/patch-ap @@ -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 @@ $NetBSD: patch-ap,v 1.4 2012/03/22 14:13:29 taca Exp $ #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 @@ $NetBSD: patch-ap,v 1.4 2012/03/22 14:13:29 taca Exp $ /* * 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 ); |