summaryrefslogtreecommitdiff
path: root/mail/perdition
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-03-04 15:16:30 +0000
committerjoerg <joerg@pkgsrc.org>2006-03-04 15:16:30 +0000
commitc103490c2afab4537d4eca6e8e541bfea19fac8a (patch)
tree2df191e650c6a03c46a4b33ed3d72498bca60ab8 /mail/perdition
parentcdb5bb907963b27d76a653038d0ad52ea200ba5a (diff)
downloadpkgsrc-c103490c2afab4537d4eca6e8e541bfea19fac8a.tar.gz
Fix errno.
Diffstat (limited to 'mail/perdition')
-rw-r--r--mail/perdition/distinfo3
-rw-r--r--mail/perdition/patches/patch-ac21
2 files changed, 23 insertions, 1 deletions
diff --git a/mail/perdition/distinfo b/mail/perdition/distinfo
index 6f6f17a6dd7..1bf1536f0e4 100644
--- a/mail/perdition/distinfo
+++ b/mail/perdition/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.2 2006/03/01 22:49:42 wiz Exp $
+$NetBSD: distinfo,v 1.3 2006/03/04 15:16:30 joerg Exp $
SHA1 (perdition-1.17.tar.gz) = 5e04f172db4a7ee2af5b7a28c19c231f955243fc
RMD160 (perdition-1.17.tar.gz) = cc3c4679390132ece6858eca6483ffddead568e4
Size (perdition-1.17.tar.gz) = 552149 bytes
SHA1 (patch-aa) = 17c6bf55f77187cad59f779e6fbcd85d6921eab1
SHA1 (patch-ab) = 7d7b8458c104437e83934b3b0fea573bd54aced0
+SHA1 (patch-ac) = 5096afa901f6f5766d9a8b0d2481c8f9c1356fe1
diff --git a/mail/perdition/patches/patch-ac b/mail/perdition/patches/patch-ac
new file mode 100644
index 00000000000..287aaccc737
--- /dev/null
+++ b/mail/perdition/patches/patch-ac
@@ -0,0 +1,21 @@
+$NetBSD: patch-ac,v 1.1 2006/03/04 15:16:30 joerg Exp $
+
+--- perdition/pam.c.orig 2006-03-04 15:10:45.000000000 +0000
++++ perdition/pam.c
+@@ -31,6 +31,7 @@
+ #include "config.h"
+ #endif
+
++#include <errno.h>
+
+ #include "pam.h"
+
+@@ -52,8 +53,6 @@ int perdition_conv(
+ ){
+ char *pass;
+
+- extern int errno;
+-
+ if((
+ *response=(struct pam_response *)malloc(sizeof(struct pam_response))
+ )==NULL){