Gentoo Archives: gentoo-commits

From: "Peter Alfredsen (loki_val)" <loki_val@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/libofa: ChangeLog libofa-0.9.3.ebuild
Date: Sat, 11 Apr 2009 16:28:27
Message-Id: E1Lsg4A-0003HB-2Q@stork.gentoo.org
1 loki_val 09/04/11 16:28:26
2
3 Modified: ChangeLog libofa-0.9.3.ebuild
4 Log:
5 Fix bug 265750, failure with gcc-4.4. Thanks to Andreas Sturmlechner <andreas.sturmlechner@×××××.com> for the patch.
6 (Portage version: 2.2_rc28/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.16 media-libs/libofa/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libofa/ChangeLog?rev=1.16&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libofa/ChangeLog?rev=1.16&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libofa/ChangeLog?r1=1.15&r2=1.16
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/media-libs/libofa/ChangeLog,v
18 retrieving revision 1.15
19 retrieving revision 1.16
20 diff -u -r1.15 -r1.16
21 --- ChangeLog 16 Apr 2008 12:57:29 -0000 1.15
22 +++ ChangeLog 11 Apr 2009 16:28:25 -0000 1.16
23 @@ -1,6 +1,11 @@
24 # ChangeLog for media-libs/libofa
25 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libofa/ChangeLog,v 1.15 2008/04/16 12:57:29 drac Exp $
27 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libofa/ChangeLog,v 1.16 2009/04/11 16:28:25 loki_val Exp $
29 +
30 + 11 Apr 2009; Peter Alfredsen <loki_val@g.o>
31 + +files/libofa-0.9.3-gcc-4.4.patch, libofa-0.9.3.ebuild:
32 + Fix bug 265750, failure with gcc-4.4. Thanks to Andreas Sturmlechner
33 + <andreas.sturmlechner@×××××.com> for the patch.
34
35 16 Apr 2008; Samuli Suominen <drac@g.o>
36 +files/libofa-0.9.3-gcc-4.3.patch, libofa-0.9.3.ebuild:
37
38
39
40 1.17 media-libs/libofa/libofa-0.9.3.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libofa/libofa-0.9.3.ebuild?rev=1.17&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libofa/libofa-0.9.3.ebuild?rev=1.17&content-type=text/plain
44 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libofa/libofa-0.9.3.ebuild?r1=1.16&r2=1.17
45
46 Index: libofa-0.9.3.ebuild
47 ===================================================================
48 RCS file: /var/cvsroot/gentoo-x86/media-libs/libofa/libofa-0.9.3.ebuild,v
49 retrieving revision 1.16
50 retrieving revision 1.17
51 diff -u -r1.16 -r1.17
52 --- libofa-0.9.3.ebuild 16 Apr 2008 12:59:00 -0000 1.16
53 +++ libofa-0.9.3.ebuild 11 Apr 2009 16:28:25 -0000 1.17
54 @@ -1,8 +1,10 @@
55 -# Copyright 2006-2008 Gentoo Foundation
56 +# Copyright 2006-2009 Gentoo Foundation
57 # Distributed under the terms of the GNU General Public License v2
58 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libofa/libofa-0.9.3.ebuild,v 1.16 2008/04/16 12:59:00 drac Exp $
59 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libofa/libofa-0.9.3.ebuild,v 1.17 2009/04/11 16:28:25 loki_val Exp $
60
61 -inherit eutils
62 +EAPI=2
63 +
64 +inherit base eutils flag-o-matic
65
66 DESCRIPTION="Open Fingerprint Architecture"
67 HOMEPAGE="http://code.google.com/p/musicip-libofa/"
68 @@ -19,16 +21,14 @@
69 DEPEND="${RDEPEND}
70 dev-util/pkgconfig"
71
72 -pkg_setup() {
73 - [[ "${CXXFLAGS}" != "${CXXFLAGS/-ffast-math/}" ]] && \
74 - die "Correct your C[XX]FLAGS. Using -ffast-math is unsafe and not supported."
75 -}
76 +PATCHES=(
77 + "${FILESDIR}"/${P}-gcc-4.patch
78 + "${FILESDIR}"/${P}-gcc-4.3.patch
79 + "${FILESDIR}"/${P}-gcc-4.4.patch
80 +)
81
82 -src_unpack() {
83 - unpack ${A}
84 - cd "${S}"
85 - epatch "${FILESDIR}"/${P}-gcc-4.patch \
86 - "${FILESDIR}"/${P}-gcc-4.3.patch
87 +pkg_setup() {
88 + is-flag -ffast-math && append-flags -fno-fast-math
89 }
90
91 src_install() {