diff options
author | Justin Bronder <jsbronder@gentoo.org> | 2008-05-02 03:10:28 +0000 |
---|---|---|
committer | Justin Bronder <jsbronder@gentoo.org> | 2008-05-02 03:10:28 +0000 |
commit | dd9804597c6ce491220968cc872d4a8a24521784 (patch) | |
tree | 03d6c4eee44d64edd3de8f67d0202751137711bd /sys-cluster/lam-mpi | |
parent | Fixing powerpc profiles for sys-libs/pam. (diff) | |
download | historical-dd9804597c6ce491220968cc872d4a8a24521784.tar.gz historical-dd9804597c6ce491220968cc872d4a8a24521784.tar.bz2 historical-dd9804597c6ce491220968cc872d4a8a24521784.zip |
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
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'sys-cluster/lam-mpi')
-rw-r--r-- | sys-cluster/lam-mpi/ChangeLog | 6 | ||||
-rw-r--r-- | sys-cluster/lam-mpi/Manifest | 10 | ||||
-rw-r--r-- | sys-cluster/lam-mpi/lam-mpi-7.1.4.ebuild | 18 |
3 files changed, 27 insertions, 7 deletions
diff --git a/sys-cluster/lam-mpi/ChangeLog b/sys-cluster/lam-mpi/ChangeLog index ea8905204cba..1e589bb28fa5 100644 --- a/sys-cluster/lam-mpi/ChangeLog +++ b/sys-cluster/lam-mpi/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-cluster/lam-mpi # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/lam-mpi/ChangeLog,v 1.66 2008/03/11 14:34:41 jsbronder Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/lam-mpi/ChangeLog,v 1.67 2008/05/02 03:10:28 jsbronder Exp $ + + 02 May 2008; Justin Bronder <jsbronder@gentoo.org> lam-mpi-7.1.4.ebuild: + 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 11 Mar 2008; Justin Bronder <jsbronder@gentoo.org> +files/7.1.4-as-needed.patch, lam-mpi-7.0.4.ebuild, lam-mpi-7.1.2.ebuild, diff --git a/sys-cluster/lam-mpi/Manifest b/sys-cluster/lam-mpi/Manifest index 99d765f18f3c..e05632942dd7 100644 --- a/sys-cluster/lam-mpi/Manifest +++ b/sys-cluster/lam-mpi/Manifest @@ -9,13 +9,13 @@ DIST lam-7.1.2.tar.bz2 7851483 RMD160 4aeb62d41dc0b6f910424feb1046c6925bd620c4 S DIST lam-7.1.4.tar.bz2 7865813 RMD160 6c9c6338391472d4cd2572c409cb92360e7fd799 SHA1 ce8a983004f31d5960d34efe3ed9ac489e9dfc9d SHA256 d66c205f57d9ffc38dbfb81faef8b586ef2b9e08853034c0472ef4ae45803d2e EBUILD lam-mpi-7.0.4.ebuild 1482 RMD160 df6743f26ad6df6f15bf27d010539470d73685c7 SHA1 8d429fd88c782acc3176f69d8aa80ba9cd55d849 SHA256 7b5fdc8cdba559a3586599bb7b03884e1cfddd35868ca14a30e74b42bc5bd7ce EBUILD lam-mpi-7.1.2.ebuild 2633 RMD160 e8bc046655650384f71714f5459dcae141cf5e16 SHA1 71ebfe8171b09d1e751b058120a06c4a5cb9191e SHA256 978bf9ff2fefa41d0d6a8a4c9ec9846399a1578028c349df993d9fb27bb6e7c6 -EBUILD lam-mpi-7.1.4.ebuild 3401 RMD160 adcd1c72d7739d8cd1ccd8cfaee4b15d0f9ed38f SHA1 06c5b72f01d2ed9d21bb8101c9aec2a23a2d4302 SHA256 01d796f2c9d3c678862eac11b635620cfe448ded7d237509ef00f383146c9481 -MISC ChangeLog 11112 RMD160 96f6ac27474a8d3223d3e094d0f221a83c24f509 SHA1 b47fc1497ddad82b3d9b74a84db143d5596c88aa SHA256 3b8dca65dbd1ce82b5342a4b9648db0014346aa7840b71847ce0c39c1225a730 +EBUILD lam-mpi-7.1.4.ebuild 3997 RMD160 ba37eb30b30d7eacbca151d4af18932255e53797 SHA1 13d3031e22d04d4342a61b9d888e3d67e8f4bfbd SHA256 64efaa00163d2fdc644d72d5114eb56a23a831370e87681766f0e51ac497941a +MISC ChangeLog 11336 RMD160 c5c7f6b59b15b985c6b400279bc54f3ac12990ca SHA1 c2d03240a7d8ed461c8e6a812fc0a4857234a7c3 SHA256 fe7d7572744b62ff561a438aa8490e20b332ea25568d258c7c7fae08cb528101 MISC metadata.xml 246 RMD160 d52b4812a5e7e64bb7ad65ea18fbfd22436b554c SHA1 9f5619017d37df2aa5c3506121565b85c0aa6cff SHA256 bab05701952036ebcdd5818b375996c59ad1cbd5d8fd503d3ae6fd654faf4330 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) -iD8DBQFH9Xj64MrvBE1wQ8kRAlnWAJwIE0ngOSTN88psC/knAjTl7iwyYwCfSGfB -iBk/yIkKakXvo8w6DEPbKJg= -=1XTy +iD8DBQFIGoVY4MrvBE1wQ8kRAt/LAJ9prBbXwqQnmWdPblwUE9t01TcOOgCcD3TC +q9XYLt9N8Cjqm6Mv4BTeYJ8= +=X9PH -----END PGP SIGNATURE----- diff --git a/sys-cluster/lam-mpi/lam-mpi-7.1.4.ebuild b/sys-cluster/lam-mpi/lam-mpi-7.1.4.ebuild index 35deebf9dfb5..0c20b700a227 100644 --- a/sys-cluster/lam-mpi/lam-mpi-7.1.4.ebuild +++ b/sys-cluster/lam-mpi/lam-mpi-7.1.4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $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 $ +# $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 $ inherit autotools eutils fortran flag-o-matic multilib portability @@ -39,6 +39,22 @@ src_unpack() { epatch "${FILESDIR}"/7.1.2-lam_prog_f77.m4.patch epatch "${FILESDIR}"/7.1.2-liblam-use-extra-libs.patch epatch "${FILESDIR}"/7.1.4-as-needed.patch + + # gcc-4.3.0 fix. char *argv[] -> char **argv. + # replaces a few more than necessary, but should be harmless. + # TODO: Already applied upstream, will be in 7.1.5 + for f in config/*.m4; do + sed -i 's:^\(int main(int argc, char\)[^{]*\([{]\?\):\1** argv) \2:g' $f + done + + # eautoreconf doesn't work correctly as lam-mpi uses their own + # LAM_CONFIG_SUBDIR instead of AC_CONFIG_SUBDIRS. Even better, they use + # variables inside of the definitions, so --trace doesn't work. + for f in $(find ./ -name 'configure.ac'); do + pushd $(dirname $f) &>/dev/null + eautoreconf + popd &>/dev/null + done eautoreconf } |