Gentoo Archives: gentoo-commits

From: "Justin Bronder (jsbronder)" <jsbronder@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-cluster/lam-mpi: ChangeLog lam-mpi-7.1.4.ebuild
Date: Fri, 02 May 2008 03:10:32
Message-Id: E1JrlfJ-0007fM-7H@stork.gentoo.org
1 jsbronder 08/05/02 03:10:29
2
3 Modified: ChangeLog lam-mpi-7.1.4.ebuild
4 Log:
5 gcc-4.3.0 compile fix (char *argv[] -> char **argv). Thanks to Peter Alfredsen (peter.alfredsen at gmail) for the report and fix. Bug #219675
6 (Portage version: 2.1.4.4)
7
8 Revision Changes Path
9 1.67 sys-cluster/lam-mpi/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/lam-mpi/ChangeLog?rev=1.67&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/lam-mpi/ChangeLog?rev=1.67&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/lam-mpi/ChangeLog?r1=1.66&r2=1.67
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/sys-cluster/lam-mpi/ChangeLog,v
18 retrieving revision 1.66
19 retrieving revision 1.67
20 diff -u -r1.66 -r1.67
21 --- ChangeLog 11 Mar 2008 14:34:41 -0000 1.66
22 +++ ChangeLog 2 May 2008 03:10:28 -0000 1.67
23 @@ -1,6 +1,10 @@
24 # ChangeLog for sys-cluster/lam-mpi
25 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/lam-mpi/ChangeLog,v 1.66 2008/03/11 14:34:41 jsbronder Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/lam-mpi/ChangeLog,v 1.67 2008/05/02 03:10:28 jsbronder Exp $
28 +
29 + 02 May 2008; Justin Bronder <jsbronder@g.o> lam-mpi-7.1.4.ebuild:
30 + gcc-4.3.0 compile fix (char *argv[] -> char **argv). Thanks to Peter
31 + Alfredsen (peter.alfredsen at gmail) for the report and fix. Bug #219675
32
33 11 Mar 2008; Justin Bronder <jsbronder@g.o>
34 +files/7.1.4-as-needed.patch, lam-mpi-7.0.4.ebuild, lam-mpi-7.1.2.ebuild,
35
36
37
38 1.3 sys-cluster/lam-mpi/lam-mpi-7.1.4.ebuild
39
40 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/lam-mpi/lam-mpi-7.1.4.ebuild?rev=1.3&view=markup
41 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/lam-mpi/lam-mpi-7.1.4.ebuild?rev=1.3&content-type=text/plain
42 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/lam-mpi/lam-mpi-7.1.4.ebuild?r1=1.2&r2=1.3
43
44 Index: lam-mpi-7.1.4.ebuild
45 ===================================================================
46 RCS file: /var/cvsroot/gentoo-x86/sys-cluster/lam-mpi/lam-mpi-7.1.4.ebuild,v
47 retrieving revision 1.2
48 retrieving revision 1.3
49 diff -u -r1.2 -r1.3
50 --- lam-mpi-7.1.4.ebuild 11 Mar 2008 14:34:41 -0000 1.2
51 +++ lam-mpi-7.1.4.ebuild 2 May 2008 03:10:28 -0000 1.3
52 @@ -1,6 +1,6 @@
53 # Copyright 1999-2008 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/lam-mpi/lam-mpi-7.1.4.ebuild,v 1.2 2008/03/11 14:34:41 jsbronder Exp $
56 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/lam-mpi/lam-mpi-7.1.4.ebuild,v 1.3 2008/05/02 03:10:28 jsbronder Exp $
57
58 inherit autotools eutils fortran flag-o-matic multilib portability
59
60 @@ -39,6 +39,22 @@
61 epatch "${FILESDIR}"/7.1.2-lam_prog_f77.m4.patch
62 epatch "${FILESDIR}"/7.1.2-liblam-use-extra-libs.patch
63 epatch "${FILESDIR}"/7.1.4-as-needed.patch
64 +
65 + # gcc-4.3.0 fix. char *argv[] -> char **argv.
66 + # replaces a few more than necessary, but should be harmless.
67 + # TODO: Already applied upstream, will be in 7.1.5
68 + for f in config/*.m4; do
69 + sed -i 's:^\(int main(int argc, char\)[^{]*\([{]\?\):\1** argv) \2:g' $f
70 + done
71 +
72 + # eautoreconf doesn't work correctly as lam-mpi uses their own
73 + # LAM_CONFIG_SUBDIR instead of AC_CONFIG_SUBDIRS. Even better, they use
74 + # variables inside of the definitions, so --trace doesn't work.
75 + for f in $(find ./ -name 'configure.ac'); do
76 + pushd $(dirname $f) &>/dev/null
77 + eautoreconf
78 + popd &>/dev/null
79 + done
80 eautoreconf
81 }
82
83
84
85
86 --
87 gentoo-commits@l.g.o mailing list