Gentoo Archives: gentoo-commits

From: "Doug Goldstein (cardoe)" <cardoe@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-devel/patch: patch-2.7.1-r2.ebuild ChangeLog
Date: Fri, 02 Aug 2013 13:25:41
Message-Id: 20130802132535.274E42171D@flycatcher.gentoo.org
1 cardoe 13/08/02 13:25:35
2
3 Modified: ChangeLog
4 Added: patch-2.7.1-r2.ebuild
5 Log:
6 Fixes to prevent leaving empty directories around when the wrong patch level is used or if --dry-run is specified. bug #478548
7
8 (Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key D7DFA8D318FA9AEF!)
9
10 Revision Changes Path
11 1.64 sys-devel/patch/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/patch/ChangeLog?rev=1.64&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/patch/ChangeLog?rev=1.64&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/patch/ChangeLog?r1=1.63&r2=1.64
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-devel/patch/ChangeLog,v
20 retrieving revision 1.63
21 retrieving revision 1.64
22 diff -u -r1.63 -r1.64
23 --- ChangeLog 21 May 2013 17:35:57 -0000 1.63
24 +++ ChangeLog 2 Aug 2013 13:25:34 -0000 1.64
25 @@ -1,6 +1,16 @@
26 # ChangeLog for sys-devel/patch
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/patch/ChangeLog,v 1.63 2013/05/21 17:35:57 vapier Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/patch/ChangeLog,v 1.64 2013/08/02 13:25:34 cardoe Exp $
30 +
31 +*patch-2.7.1-r2 (02 Aug 2013)
32 +
33 + 02 Aug 2013; Doug Goldstein <cardoe@g.o>
34 + +files/patch-2.7.1-Fix-removing-empty-directories-automake.patch,
35 + +files/patch-2.7.1-Fix-removing-empty-directories.patch,
36 + +files/patch-2.7.1-dry-run-mode-create-temp-files-in-temp-dir.patch,
37 + +patch-2.7.1-r2.ebuild:
38 + Fixes to prevent leaving empty directories around when the wrong patch level
39 + is used or if --dry-run is specified. bug #478548
40
41 21 May 2013; Mike Frysinger <vapier@g.o> patch-2.7.1-r1.ebuild:
42 Do not let $ED from the EAPI mess up the search for `ed` #470210 by Roman
43
44
45
46 1.1 sys-devel/patch/patch-2.7.1-r2.ebuild
47
48 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/patch/patch-2.7.1-r2.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/patch/patch-2.7.1-r2.ebuild?rev=1.1&content-type=text/plain
50
51 Index: patch-2.7.1-r2.ebuild
52 ===================================================================
53 # Copyright 1999-2013 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 # $Header: /var/cvsroot/gentoo-x86/sys-devel/patch/patch-2.7.1-r2.ebuild,v 1.1 2013/08/02 13:25:34 cardoe Exp $
56
57 EAPI=4
58
59 inherit flag-o-matic eutils autotools
60
61 DESCRIPTION="Utility to apply diffs to files"
62 HOMEPAGE="http://www.gnu.org/software/patch/patch.html"
63 SRC_URI="mirror://gnu/patch/${P}.tar.xz"
64
65 LICENSE="GPL-2"
66 SLOT="0"
67 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-aix ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
68 IUSE="static test xattr"
69
70 RDEPEND="xattr? ( sys-apps/attr )"
71 DEPEND="${RDEPEND}
72 test? ( sys-apps/ed )"
73
74 src_prepare() {
75 epatch "${FILESDIR}/${P}-Fix-removing-empty-directories.patch"
76 epatch "${FILESDIR}/${P}-Fix-removing-empty-directories-automake.patch"
77 epatch "${FILESDIR}/${P}-dry-run-mode-create-temp-files-in-temp-dir.patch"
78 }
79
80 src_configure() {
81 use static && append-ldflags -static
82
83 # Do not let $ED mess up the search for `ed` 470210.
84 ac_cv_path_ED=$(type -P ed) \
85 econf \
86 $(use_enable xattr) \
87 --program-prefix="$(use userland_BSD && echo g)"
88 }