From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 766511386F3 for ; Mon, 28 Jan 2013 02:13:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ED99021C04B; Mon, 28 Jan 2013 02:13:26 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1F52B21C048 for ; Mon, 28 Jan 2013 02:13:26 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3484633DB40 for ; Mon, 28 Jan 2013 02:13:25 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 0B653E4093 for ; Mon, 28 Jan 2013 02:13:23 +0000 (UTC) From: "Robin H. Johnson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Robin H. Johnson" Message-ID: <1359338126.e06df615270f2996cb61c00ed2638a05a74e7c38.robbat2@gentoo> Subject: [gentoo-commits] proj/mysql:master commit in: eclass/ X-VCS-Repository: proj/mysql X-VCS-Files: eclass/mysql-autotools.eclass X-VCS-Directories: eclass/ X-VCS-Committer: robbat2 X-VCS-Committer-Name: Robin H. Johnson X-VCS-Revision: e06df615270f2996cb61c00ed2638a05a74e7c38 X-VCS-Branch: master Date: Mon, 28 Jan 2013 02:13:23 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: d75fe8d1-24b7-4b03-804c-cc97c48aa029 X-Archives-Hash: 7b80403dc5adef01292e343560356c22 commit: e06df615270f2996cb61c00ed2638a05a74e7c38 Author: Robin H. Johnson gentoo org> AuthorDate: Mon Jan 28 01:55:26 2013 +0000 Commit: Robin H. Johnson gentoo org> CommitDate: Mon Jan 28 01:55:26 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/mysql.git;a=commit;h=e06df615 Ensure old versions still work when patch does not exist. --- eclass/mysql-autotools.eclass | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/eclass/mysql-autotools.eclass b/eclass/mysql-autotools.eclass index e25035a..fb7ea99 100644 --- a/eclass/mysql-autotools.eclass +++ b/eclass/mysql-autotools.eclass @@ -421,7 +421,8 @@ mysql-autotools_src_prepare() { i='pbxt' [ -d "${i}" ] && rm -rf "${i}" cp -ral "${WORKDIR}/${PBXT_P}" "${i}" - epatch "${WORKDIR}/mysql-extras/pbxt/fix-low-priority.patch" + f="${WORKDIR}/mysql-extras/pbxt/fix-low-priority.patch" + [[ -f $f ]] && epatch "$f" popd >/dev/null fi