Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/libffi: ChangeLog libffi-3.0.9-r2.ebuild
Date: Fri, 04 Feb 2011 18:40:43
Message-Id: 20110204184032.EE64420057@flycatcher.gentoo.org
1 ssuominen 11/02/04 18:40:32
2
3 Modified: ChangeLog
4 Added: libffi-3.0.9-r2.ebuild
5 Log:
6 Backport upstream patch for strncmp usage bug by request from Arfrever Frehtes Taifersar Arahesis. Use EAPI=2. This will effectively kill upgrade path from older systems since it's a depend for dev-lang/python and thus portage. But python ebuilds are newer EAPIs too, so we don't care anymore.
7
8 (Portage version: 2.2.0_alpha19/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.110 dev-libs/libffi/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libffi/ChangeLog?rev=1.110&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libffi/ChangeLog?rev=1.110&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libffi/ChangeLog?r1=1.109&r2=1.110
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/libffi/ChangeLog,v
20 retrieving revision 1.109
21 retrieving revision 1.110
22 diff -u -r1.109 -r1.110
23 --- ChangeLog 6 Jan 2011 19:52:33 -0000 1.109
24 +++ ChangeLog 4 Feb 2011 18:40:32 -0000 1.110
25 @@ -1,6 +1,13 @@
26 # ChangeLog for dev-libs/libffi
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/ChangeLog,v 1.109 2011/01/06 19:52:33 grobian Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/ChangeLog,v 1.110 2011/02/04 18:40:32 ssuominen Exp $
30 +
31 +*libffi-3.0.9-r2 (04 Feb 2011)
32 +
33 + 04 Feb 2011; Samuli Suominen <ssuominen@g.o> +libffi-3.0.9-r2.ebuild,
34 + +files/libffi-3.0.9-strncmp.patch:
35 + Backport upstream patch for strncmp usage bug by request from Arfrever
36 + Frehtes Taifersar Arahesis.
37
38 06 Jan 2011; Fabian Groffen <grobian@g.o> libffi-3.0.9-r1.ebuild,
39 +files/libffi-3.0.9-powerpc64-darwin.patch:
40
41
42
43 1.1 dev-libs/libffi/libffi-3.0.9-r2.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libffi/libffi-3.0.9-r2.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libffi/libffi-3.0.9-r2.ebuild?rev=1.1&content-type=text/plain
47
48 Index: libffi-3.0.9-r2.ebuild
49 ===================================================================
50 # Copyright 1999-2011 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/libffi-3.0.9-r2.ebuild,v 1.1 2011/02/04 18:40:32 ssuominen Exp $
53
54 EAPI=2
55 inherit eutils libtool
56
57 DESCRIPTION="a portable, high level programming interface to various calling conventions."
58 HOMEPAGE="http://sourceware.org/libffi/"
59 SRC_URI="ftp://sourceware.org/pub/${PN}/${P}.tar.gz"
60
61 LICENSE="MIT"
62 SLOT="0"
63 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
64 IUSE="debug static-libs test"
65
66 RDEPEND=""
67 DEPEND="test? ( dev-util/dejagnu )"
68
69 src_prepare() {
70 epatch \
71 "${FILESDIR}"/${P}-interix.patch \
72 "${FILESDIR}"/${P}-powerpc64-darwin.patch \
73 "${FILESDIR}"/${P}-irix.patch \
74 "${FILESDIR}"/${P}-arm-oabi.patch \
75 "${FILESDIR}"/${P}-define-generic-symbols-carefully.patch \
76 "${FILESDIR}"/${P}-strncmp.patch
77
78 elibtoolize
79 }
80
81 src_configure() {
82 econf \
83 --disable-dependency-tracking \
84 $(use_enable static-libs static) \
85 $(use_enable debug)
86 }
87
88 src_install() {
89 emake DESTDIR="${D}" install || die
90 dodoc ChangeLog* README
91 find "${D}" -type f -name '*.la' -exec rm -f '{}' +
92 }