Gentoo Archives: gentoo-commits

From: "Mark Loeser (halcy0n)" <halcy0n@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-cpp/gccxml: ChangeLog gccxml-0.6.0-r1.ebuild
Date: Fri, 02 Jan 2009 01:37:54
Message-Id: E1LIYz1-0001Da-9s@stork.gentoo.org
1 halcy0n 09/01/02 01:37:51
2
3 Modified: ChangeLog gccxml-0.6.0-r1.ebuild
4 Log:
5 Add patch to fix building with gcc-4.3. Thanks to Marek Cruz <programatorfreez AT gmail DOT com>; bug #248922
6 (Portage version: 2.2_rc17/cvs/Linux 2.6.26-rc5 i686)
7
8 Revision Changes Path
9 1.23 dev-cpp/gccxml/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-cpp/gccxml/ChangeLog?rev=1.23&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-cpp/gccxml/ChangeLog?rev=1.23&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-cpp/gccxml/ChangeLog?r1=1.22&r2=1.23
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/dev-cpp/gccxml/ChangeLog,v
18 retrieving revision 1.22
19 retrieving revision 1.23
20 diff -u -r1.22 -r1.23
21 --- ChangeLog 7 Jun 2008 16:57:59 -0000 1.22
22 +++ ChangeLog 2 Jan 2009 01:37:51 -0000 1.23
23 @@ -1,6 +1,11 @@
24 # ChangeLog for dev-cpp/gccxml
25 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gccxml/ChangeLog,v 1.22 2008/06/07 16:57:59 dev-zero Exp $
27 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gccxml/ChangeLog,v 1.23 2009/01/02 01:37:51 halcy0n Exp $
29 +
30 + 02 Jan 2009; Mark Loeser <halcy0n@g.o>
31 + +files/gccxml-0.6.0-gcc43.patch, gccxml-0.6.0-r1.ebuild:
32 + Add patch to fix building with gcc-4.3. Thanks to Marek Cruz
33 + <programatorfreez AT gmail DOT com>; bug #248922
34
35 *gccxml-0.9.0_pre20080607 (07 Jun 2008)
36
37
38
39
40 1.7 dev-cpp/gccxml/gccxml-0.6.0-r1.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-cpp/gccxml/gccxml-0.6.0-r1.ebuild?rev=1.7&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-cpp/gccxml/gccxml-0.6.0-r1.ebuild?rev=1.7&content-type=text/plain
44 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-cpp/gccxml/gccxml-0.6.0-r1.ebuild?r1=1.6&r2=1.7
45
46 Index: gccxml-0.6.0-r1.ebuild
47 ===================================================================
48 RCS file: /var/cvsroot/gentoo-x86/dev-cpp/gccxml/gccxml-0.6.0-r1.ebuild,v
49 retrieving revision 1.6
50 retrieving revision 1.7
51 diff -u -r1.6 -r1.7
52 --- gccxml-0.6.0-r1.ebuild 11 Feb 2007 11:20:08 -0000 1.6
53 +++ gccxml-0.6.0-r1.ebuild 2 Jan 2009 01:37:51 -0000 1.7
54 @@ -1,6 +1,6 @@
55 -# Copyright 1999-2007 Gentoo Foundation
56 +# Copyright 1999-2009 Gentoo Foundation
57 # Distributed under the terms of the GNU General Public License v2
58 -# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gccxml/gccxml-0.6.0-r1.ebuild,v 1.6 2007/02/11 11:20:08 vapier Exp $
59 +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gccxml/gccxml-0.6.0-r1.ebuild,v 1.7 2009/01/02 01:37:51 halcy0n Exp $
60
61 inherit versionator eutils
62 PVM="$(get_version_component_range 1-2)"
63 @@ -16,20 +16,21 @@
64 DEPEND="dev-util/cmake"
65 RDEPEND=""
66
67 -MYBUILDDIR=${WORKDIR}/build
68 +MYBUILDDIR="${WORKDIR}"/build
69 src_unpack() {
70 - mkdir ${MYBUILDDIR}
71 + mkdir "${MYBUILDDIR}"
72 unpack ${A}
73 - cd ${S}
74 - epatch ${FILESDIR}/obstack.h.diff
75 + cd "${S}"
76 + epatch "${FILESDIR}"/obstack.h.diff
77 + epatch "${FILESDIR}"/${P}-gcc43.patch
78 }
79 src_compile() {
80 - cd ${MYBUILDDIR}
81 + cd "${MYBUILDDIR}"
82 cmake ../${P} -DCMAKE_INSTALL_PREFIX:PATH=/usr || die "cmake failed"
83 emake || die "emake failed"
84 }
85
86 src_install() {
87 - cd ${MYBUILDDIR}
88 - make DESTDIR=${D} install || die
89 + cd "${MYBUILDDIR}"
90 + make DESTDIR="${D}" install || die
91 }