summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Hanselmann <hansmi@gentoo.org>2004-08-31 20:04:11 +0000
committerMichael Hanselmann <hansmi@gentoo.org>2004-08-31 20:04:11 +0000
commit95bc103f5ae99056ed377d5cdc1c46aa2dda3628 (patch)
tree1e88efa6f805d83fddbd94c94a34e4ab1b78e356 /mail-mta/qmail
parentAdded additional info (diff)
downloadgentoo-2-95bc103f5ae99056ed377d5cdc1c46aa2dda3628.tar.gz
gentoo-2-95bc103f5ae99056ed377d5cdc1c46aa2dda3628.tar.bz2
gentoo-2-95bc103f5ae99056ed377d5cdc1c46aa2dda3628.zip
Added a small patch for Mac OS X to let dns.c compile.
Diffstat (limited to 'mail-mta/qmail')
-rw-r--r--mail-mta/qmail/ChangeLog7
-rw-r--r--mail-mta/qmail/files/1.03-r15/qmail-macos-dns-fix.patch11
-rw-r--r--mail-mta/qmail/qmail-1.03-r15.ebuild8
3 files changed, 24 insertions, 2 deletions
diff --git a/mail-mta/qmail/ChangeLog b/mail-mta/qmail/ChangeLog
index c1d2f773cd94..0c2ce6328ed2 100644
--- a/mail-mta/qmail/ChangeLog
+++ b/mail-mta/qmail/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for mail-mta/qmail
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/qmail/ChangeLog,v 1.8 2004/07/20 14:24:11 tomk Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/qmail/ChangeLog,v 1.9 2004/08/31 20:04:11 hansmi Exp $
+
+ 31 Aug 2004; Michael Hanselmann <hansmi@gentoo.org>
+ +files/1.03-r15/qmail-macos-dns-fix.patch, qmail-1.03-r15.ebuild:
+ Added bugfix to compile qmail on Mac OS X. qmail doesn't run yet on it, but
+ this patch will help in the future.
20 Jul 2004; <tomk@gentoo.org> qmail-1.03-r13.ebuild, qmail-1.03-r14.ebuild,
qmail-1.03-r15.ebuild:
diff --git a/mail-mta/qmail/files/1.03-r15/qmail-macos-dns-fix.patch b/mail-mta/qmail/files/1.03-r15/qmail-macos-dns-fix.patch
new file mode 100644
index 000000000000..b7a4df8e1fca
--- /dev/null
+++ b/mail-mta/qmail/files/1.03-r15/qmail-macos-dns-fix.patch
@@ -0,0 +1,11 @@
+diff -u qmail-1.03.orig/dns.c qmail-1.03/dns.c
+--- qmail-1.03.orig/dns.c Tue Aug 31 21:27:34 2004
++++ qmail-1.03/dns.c Tue Aug 31 21:41:50 2004
+@@ -3,6 +3,7 @@
+ #include <sys/types.h>
+ #include <netinet/in.h>
+ #include <arpa/nameser.h>
++#include <arpa/nameser_compat.h>
+ #include <resolv.h>
+ #include <errno.h>
+ extern int res_query();
diff --git a/mail-mta/qmail/qmail-1.03-r15.ebuild b/mail-mta/qmail/qmail-1.03-r15.ebuild
index 16a3d3ab26b4..2c072e6630d5 100644
--- a/mail-mta/qmail/qmail-1.03-r15.ebuild
+++ b/mail-mta/qmail/qmail-1.03-r15.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/qmail/qmail-1.03-r15.ebuild,v 1.6 2004/07/20 14:24:11 tomk Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/qmail/qmail-1.03-r15.ebuild,v 1.7 2004/08/31 20:04:11 hansmi Exp $
inherit gcc eutils fixheadtails
@@ -194,6 +194,12 @@ src_unpack() {
EPATCH_SINGLE_MSG="qmail-pop3d fix for top output so Evolution doesn't barf" \
epatch ${FILESDIR}/${PVR}/qmail-pop3d-top-outputfix.patch
+ # Fix a compilation-error on Mac OS X
+ # qmail doesn't run yet on Mac OS X, but this will help in the future
+ if useq macos; then
+ epatch ${FILESDIR}/${PVR}/qmail-macos-dns-fix.patch
+ fi
+
echo -n "$(gcc-getCC) ${CFLAGS}" >${S}/conf-cc
if use ssl; then
einfo "Enabling SSL/TLS functionality"