summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Hanselmann <hansmi@gentoo.org>2006-09-05 19:47:30 +0000
committerMichael Hanselmann <hansmi@gentoo.org>2006-09-05 19:47:30 +0000
commit204c46e828eb8a3488dfc4cca7f2508f7a32a445 (patch)
tree972a06bacaaee8573f3b7d8cc35fa547f021801c /mail-mta/qmail
parentVersion bump and new homepage (diff)
downloadgentoo-2-204c46e828eb8a3488dfc4cca7f2508f7a32a445.tar.gz
gentoo-2-204c46e828eb8a3488dfc4cca7f2508f7a32a445.tar.bz2
gentoo-2-204c46e828eb8a3488dfc4cca7f2508f7a32a445.zip
Fix bug 145901 by adding a patch.
(Portage version: 2.1.1_rc1-r4)
Diffstat (limited to 'mail-mta/qmail')
-rw-r--r--mail-mta/qmail/ChangeLog6
-rw-r--r--mail-mta/qmail/files/1.03-r16/tls-fix.patch18
-rw-r--r--mail-mta/qmail/qmail-1.03-r16.ebuild3
3 files changed, 25 insertions, 2 deletions
diff --git a/mail-mta/qmail/ChangeLog b/mail-mta/qmail/ChangeLog
index 55c559491aeb..7bd2d50d929e 100644
--- a/mail-mta/qmail/ChangeLog
+++ b/mail-mta/qmail/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for mail-mta/qmail
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/qmail/ChangeLog,v 1.81 2006/07/01 19:31:55 hansmi Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/qmail/ChangeLog,v 1.82 2006/09/05 19:47:30 hansmi Exp $
+
+ 05 Sep 2006; Michael Hanselmann <hansmi@gentoo.org>
+ +files/1.03-r16/tls-fix.patch, qmail-1.03-r16.ebuild:
+ Fix bug 145901 by adding a patch.
01 Jul 2006; Michael Hanselmann <hansmi@gentoo.org>
-files/qmail-dhparam.sh, qmail-1.03-r16.ebuild:
diff --git a/mail-mta/qmail/files/1.03-r16/tls-fix.patch b/mail-mta/qmail/files/1.03-r16/tls-fix.patch
new file mode 100644
index 000000000000..6a9a430652cc
--- /dev/null
+++ b/mail-mta/qmail/files/1.03-r16/tls-fix.patch
@@ -0,0 +1,18 @@
+--- tls.c.orig 2006-09-05 21:45:09.000000000 +0200
++++ tls.c 2006-09-05 21:45:17.000000000 +0200
+@@ -2,6 +2,7 @@
+ #include "error.h"
+ #include <openssl/ssl.h>
+ #include <openssl/err.h>
++#include <string.h>
+
+ int smtps = 0;
+ SSL *ssl = NULL;
+@@ -9,7 +10,6 @@
+ void ssl_free(SSL *myssl) { SSL_shutdown(myssl); SSL_free(myssl); }
+ void ssl_exit(int status) { if (ssl) ssl_free(ssl); _exit(status); }
+
+-const char *strerror(int);
+ const char *ssl_error()
+ {
+ int r = ERR_get_error();
diff --git a/mail-mta/qmail/qmail-1.03-r16.ebuild b/mail-mta/qmail/qmail-1.03-r16.ebuild
index 4517f34b7bac..b6ca810e5412 100644
--- a/mail-mta/qmail/qmail-1.03-r16.ebuild
+++ b/mail-mta/qmail/qmail-1.03-r16.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/qmail/qmail-1.03-r16.ebuild,v 1.56 2006/07/01 19:31:55 hansmi Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/qmail/qmail-1.03-r16.ebuild,v 1.57 2006/09/05 19:47:30 hansmi Exp $
inherit toolchain-funcs eutils fixheadtails flag-o-matic
@@ -271,6 +271,7 @@ src_unpack() {
# Fix files
epatch ${FILESDIR}/${PVR}/fix-manpages.patch
+ epatch ${FILESDIR}/${PVR}/tls-fix.patch
# See bug #90631
if use logmail; then