Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/patch/
Date: Wed, 07 Feb 2018 09:51:47
Message-Id: 1517997099.5d7541ffc1a9434390aa52210a6df5c14a591b53.polynomial-c@gentoo
1 commit: 5d7541ffc1a9434390aa52210a6df5c14a591b53
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 7 09:51:25 2018 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 7 09:51:39 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d7541ff
7
8 sys-devel/patch: Bump to version 2.7.6
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 sys-devel/patch/Manifest | 1 +
13 sys-devel/patch/patch-2.7.6.ebuild | 31 +++++++++++++++++++++++++++++++
14 2 files changed, 32 insertions(+)
15
16 diff --git a/sys-devel/patch/Manifest b/sys-devel/patch/Manifest
17 index 6e873f84c79..07919eb372e 100644
18 --- a/sys-devel/patch/Manifest
19 +++ b/sys-devel/patch/Manifest
20 @@ -1 +1,2 @@
21 DIST patch-2.7.5.tar.xz 727704 BLAKE2B a7aefd05da73329ae301f0f6429306661d72fedd59c6d35acef4828c7e5951c0ce3e8cedfc8ed9ac45d45f6eff564c2e41c0ccb95fbe1c668f63844b7069520c SHA512 6620ac8101f60c0b456ce339fa5e371f40be0b391e2e9728f34f3625f9907e516de61dac2f91bc76e6fd28a9bd1224efc3ba827cfaa606d857730c1af4195a0f
22 +DIST patch-2.7.6.tar.xz 783756 BLAKE2B e3dd2d155a94c39cb60eafc26677e84de14c3a6d5814dff69de091ded52f21862490970254297795f2c42a0c3203f7e88a8f65bb66968f8dfd6e066bf53f2dfb SHA512 fcca87bdb67a88685a8a25597f9e015f5e60197b9a269fa350ae35a7991ed8da553939b4bbc7f7d3cfd863c67142af403b04165633acbce4339056a905e87fbd
23
24 diff --git a/sys-devel/patch/patch-2.7.6.ebuild b/sys-devel/patch/patch-2.7.6.ebuild
25 new file mode 100644
26 index 00000000000..0f51919147f
27 --- /dev/null
28 +++ b/sys-devel/patch/patch-2.7.6.ebuild
29 @@ -0,0 +1,31 @@
30 +# Copyright 1999-2018 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=6
34 +
35 +inherit flag-o-matic
36 +
37 +DESCRIPTION="Utility to apply diffs to files"
38 +HOMEPAGE="https://www.gnu.org/software/patch/patch.html"
39 +SRC_URI="mirror://gnu/patch/${P}.tar.xz"
40 +
41 +LICENSE="GPL-2"
42 +SLOT="0"
43 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
44 +IUSE="static test xattr"
45 +
46 +RDEPEND="xattr? ( sys-apps/attr )"
47 +DEPEND="${RDEPEND}
48 + test? ( sys-apps/ed )"
49 +
50 +src_configure() {
51 + use static && append-ldflags -static
52 +
53 + local myeconfargs=(
54 + $(use_enable xattr)
55 + --program-prefix="$(use userland_BSD && echo g)"
56 + )
57 + # Do not let $ED mess up the search for `ed` 470210.
58 + ac_cv_path_ED=$(type -P ed) \
59 + econf "${myeconfargs[@]}"
60 +}