X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from ncopa-desktop.alpinelinux.org (unknown [79.160.13.133]) (using SSLv3 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: n@tanael.org) by mail.alpinelinux.org (Postfix) with ESMTPSA id 1CCA9DC032F; Tue, 14 Oct 2014 06:42:00 +0000 (UTC) Date: Tue, 14 Oct 2014 08:41:56 +0200 From: Natanael Copa To: Jens Vehlhaber Cc: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] [PATCH] Postfix file descriptors patch Message-ID: <20141014084156.41cf7517@ncopa-desktop.alpinelinux.org> In-Reply-To: <1413196676-22116-1-git-send-email-jens@eisfair.org> References: <1413196676-22116-1-git-send-email-jens@eisfair.org> X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.23; x86_64-alpine-linux-musl) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Mon, 13 Oct 2014 12:37:56 +0200 Jens Vehlhaber wrote: > --- > main/postfix/APKBUILD | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/main/postfix/APKBUILD b/main/postfix/APKBUILD > index c9e1961..998d1a3 100644 > --- a/main/postfix/APKBUILD > +++ b/main/postfix/APKBUILD > @@ -1,7 +1,7 @@ > # Maintainer: Natanael Copa > pkgname=postfix > pkgver=2.11.1 > -pkgrel=0 > +pkgrel=1 > pkgdesc="Secure and fast drop-in replacement for Sendmail (MTA)" > url="http://www.postfix.org/" > arch="all" > @@ -43,6 +43,7 @@ prepare() { > sed -i -e "s|#define HAS_NIS|//#define HAS_NIS|g" \ > -e "/^#define ALIAS_DB_MAP/s|:/etc/aliases|:/etc/postfix/aliases|" \ > src/util/sys_defs.h || return 1 > + sed -i -e "s:(__GLIBC__ < 2):(defined(__GLIBC__) \&\& (__GLIBC__ < 2)):" src/util/sys_defs.h || return 1 > sed -i -e "s:/usr/local/:/usr/:g" conf/master.cf || return 1 > } > Fixed this by using a patch instead of sed. (so we detect when they fix it upstream) Thanks! -nc --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---