From d61208b5e9f88083e97812512c8e6c186dd0a6a7 Mon Sep 17 00:00:00 2001 From: Naohiro Aota Date: Thu, 5 Jul 2012 06:15:04 +0000 Subject: Add backport patch to support freebsd9. #421763 (Portage version: 2.2.0_alpha114/cvs/Linux x86_64) --- mail-mta/postfix/ChangeLog | 6 +++++- .../postfix/files/postfix-2.9.3-freebsd9.patch | 22 ++++++++++++++++++++++ mail-mta/postfix/postfix-2.9.3.ebuild | 4 +++- 3 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 mail-mta/postfix/files/postfix-2.9.3-freebsd9.patch (limited to 'mail-mta') diff --git a/mail-mta/postfix/ChangeLog b/mail-mta/postfix/ChangeLog index 0bade3592728..02d082e5affa 100644 --- a/mail-mta/postfix/ChangeLog +++ b/mail-mta/postfix/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for mail-mta/postfix # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-mta/postfix/ChangeLog,v 1.367 2012/06/30 04:09:57 eras Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-mta/postfix/ChangeLog,v 1.368 2012/07/05 06:15:04 naota Exp $ + + 05 Jul 2012; Naohiro Aota + +files/postfix-2.9.3-freebsd9.patch, postfix-2.9.3.ebuild: + Add backport patch to support freebsd9. #421763 *postfix-2.10_pre20120627 (30 Jun 2012) diff --git a/mail-mta/postfix/files/postfix-2.9.3-freebsd9.patch b/mail-mta/postfix/files/postfix-2.9.3-freebsd9.patch new file mode 100644 index 000000000000..d2e89c3689c6 --- /dev/null +++ b/mail-mta/postfix/files/postfix-2.9.3-freebsd9.patch @@ -0,0 +1,22 @@ +--- src/util/sys_defs.h 2012-01-17 16:29:55.000000000 +0000 ++++ src/util/sys_defs.h 2012-02-25 15:28:02.000000000 +0000 +@@ -25,7 +25,7 @@ + */ + #if defined(FREEBSD2) || defined(FREEBSD3) || defined(FREEBSD4) \ + || defined(FREEBSD5) || defined(FREEBSD6) || defined(FREEBSD7) \ +- || defined(FREEBSD8) \ ++ || defined(FREEBSD8) || defined(FREEBSD9) \ + || defined(BSDI2) || defined(BSDI3) || defined(BSDI4) \ + || defined(OPENBSD2) || defined(OPENBSD3) || defined(OPENBSD4) \ + || defined(OPENBSD5) \ +--- makedefs 2012-01-18 01:19:48.000000000 +0000 ++++ makedefs 2012-03-05 00:41:47.000000000 +0000 +@@ -153,6 +153,8 @@ + ;; + FreeBSD.8*) SYSTYPE=FREEBSD8 + ;; ++ FreeBSD.9*) SYSTYPE=FREEBSD9 ++ ;; + OpenBSD.2*) SYSTYPE=OPENBSD2 + ;; + OpenBSD.3*) SYSTYPE=OPENBSD3 diff --git a/mail-mta/postfix/postfix-2.9.3.ebuild b/mail-mta/postfix/postfix-2.9.3.ebuild index 8285268c0874..e6e1ecb55a6e 100644 --- a/mail-mta/postfix/postfix-2.9.3.ebuild +++ b/mail-mta/postfix/postfix-2.9.3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-mta/postfix/postfix-2.9.3.ebuild,v 1.2 2012/06/04 21:09:58 zmedico Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-mta/postfix/postfix-2.9.3.ebuild,v 1.3 2012/07/05 06:15:04 naota Exp $ EAPI=4 @@ -77,6 +77,8 @@ src_prepare() { epatch "${FILESDIR}/${PN}_no-berkdb.patch" fi + epatch "${FILESDIR}"/${P}-freebsd9.patch + sed -i -e "/^#define ALIAS_DB_MAP/s|:/etc/aliases|:/etc/mail/aliases|" \ src/util/sys_defs.h || die "sed failed" -- cgit v1.2.3-65-gdbad