diff options
author | Justin Lecher <jlec@gentoo.org> | 2010-11-01 14:52:26 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2010-11-01 14:52:26 +0000 |
commit | 3aded4d2966d481745ace34d91af8a0132c38b8a (patch) | |
tree | 6e954839812e85774528c0c97c500b2540fd3a77 /sci-libs/mc | |
parent | Drop python changes, it's unneeded since gnome-doc-utils has been fixed. (diff) | |
download | historical-3aded4d2966d481745ace34d91af8a0132c38b8a.tar.gz historical-3aded4d2966d481745ace34d91af8a0132c38b8a.tar.bz2 historical-3aded4d2966d481745ace34d91af8a0132c38b8a.zip |
New addition
Package-Manager: portage-2.2.0_alpha3/cvs/Linux x86_64
Diffstat (limited to 'sci-libs/mc')
-rw-r--r-- | sci-libs/mc/ChangeLog | 11 | ||||
-rw-r--r-- | sci-libs/mc/Manifest | 17 | ||||
-rw-r--r-- | sci-libs/mc/files/1.4-multilib.patch | 16 | ||||
-rw-r--r-- | sci-libs/mc/files/1.4-overflow.patch | 13 | ||||
-rw-r--r-- | sci-libs/mc/files/1.4-superlu.patch | 21 | ||||
-rw-r--r-- | sci-libs/mc/mc-1.4.ebuild | 70 | ||||
-rw-r--r-- | sci-libs/mc/metadata.xml | 8 |
7 files changed, 156 insertions, 0 deletions
diff --git a/sci-libs/mc/ChangeLog b/sci-libs/mc/ChangeLog new file mode 100644 index 000000000000..b3a112bd35f6 --- /dev/null +++ b/sci-libs/mc/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for sci-libs/mc +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/mc/ChangeLog,v 1.1 2010/11/01 14:52:26 jlec Exp $ + +*mc-1.4 (01 Nov 2010) + + 01 Nov 2010; Justin Lecher <jlec@gentoo.org> +files/1.4-multilib.patch, + +mc-1.4.ebuild, +files/1.4-overflow.patch, +files/1.4-superlu.patch, + +metadata.xml: + New addition + diff --git a/sci-libs/mc/Manifest b/sci-libs/mc/Manifest new file mode 100644 index 000000000000..c5dfdbac5581 --- /dev/null +++ b/sci-libs/mc/Manifest @@ -0,0 +1,17 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX 1.4-multilib.patch 693 RMD160 cbc1859370d49aa240215a2580d89a42b98ecbb8 SHA1 134917a0258d3fb71c0e19a1e57db41950c45d07 SHA256 c12e7f95d5ecc9d3bdd6b2d25b0660b63b8ed08d557c7653d89f23b576817aa8 +AUX 1.4-overflow.patch 426 RMD160 7c22e306c37c693c7e93f958c6aa497c43b894fb SHA1 d8ed633462b347d56cbb9428807f249682be4f2f SHA256 3ea566138dccc904747021f909d553254e9ff0f7064ea5cffd74b20df678c0bd +AUX 1.4-superlu.patch 695 RMD160 4318c21aabd86b2f0677488af486a30ea52b9538 SHA1 1f8de9615227c96a886bd10738c097e63ef8e3d3 SHA256 df3feabb7b2bb78973b4e0b85b9382e742f69f1966be6d6e61c418047c87d99e +DIST mc-1.4.tar.gz 16304707 RMD160 06ef87fdf214509b94a3a79370f9dbb28e8755ae SHA1 32369cc980e95296c10f9461df791e4f6b5b9765 SHA256 c5768055eb0fbccac620494e46708a7a0aef7ffc34f2b98efb8fce1b953e4e93 +EBUILD mc-1.4.ebuild 1721 RMD160 993dfdc926bceb66a7e420dfdccc0bedac12e4fe SHA1 db7ce484dfdf3a8571ff917f9ae9da0b47a8f792 SHA256 1627bc2d01367925e8426f28b821db529fdda9dc7ddf7dc118e12de607a172af +MISC ChangeLog 394 RMD160 f1cdb8879c1f97816c66c7c7c5f83d47b51907e0 SHA1 4e8b42a857f63aa2254eabf8cabf7be9f03a24ff SHA256 aecabd49fde530d5210e66f8508aba51aa3216fce419950599130c47ac6f5742 +MISC metadata.xml 216 RMD160 04a6fc4e2160b439296b52aa97d5b7d83af75508 SHA1 9561c9e6eada6aac9b503407917900529ce703e9 SHA256 24f5c205c2655ef27138c8aa087701626f5b4c666229c9ef7fe814e63ea2e776 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.16 (GNU/Linux) + +iEYEARECAAYFAkzO1C8ACgkQgAnW8HDreRaP1gCcCc3eHeQOGcavBR6opHItnx90 +7RsAoKEtTuGKweQdGxIEeZD1WOU3AIxC +=9xJm +-----END PGP SIGNATURE----- diff --git a/sci-libs/mc/files/1.4-multilib.patch b/sci-libs/mc/files/1.4-multilib.patch new file mode 100644 index 000000000000..427cb94f2c8b --- /dev/null +++ b/sci-libs/mc/files/1.4-multilib.patch @@ -0,0 +1,16 @@ +diff --git a/src/aaa_lib/Makefile.am b/src/aaa_lib/Makefile.am +index d5b8d47..132824b 100644 +--- a/src/aaa_lib/Makefile.am ++++ b/src/aaa_lib/Makefile.am +@@ -47,10 +47,9 @@ NAM_LIBS = ../nam/libnam.la + DYN_LIBS = ../dyn/libdyn.la + PDE_LIBS = ../pde/libpde.la + +-libdir = ${prefix}/lib + lib_LTLIBRARIES = libmc.la + + libmc_la_SOURCES = +-libmc_la_LIBADD = ${BASE_LIBS} ${BAM_LIBS} ${WHB_LIBS} ${APRX_LIBS} ${GEM_LIBS} ${MCSH_LIBS} ${NAM_LIBS} ${DYN_LIBS} ${PDE_LIBS} ++libmc_la_LIBADD = ${BASE_LIBS} ${BAM_LIBS} ${WHB_LIBS} ${APRX_LIBS} ${GEM_LIBS} ${MCSH_LIBS} ${NAM_LIBS} ${DYN_LIBS} ${PDE_LIBS} -lmaloc -lpunc -lumfpack -lamd -lsuperlu + libmc_la_LDFLAGS = -version-info ${FETK_VERSION} + diff --git a/sci-libs/mc/files/1.4-overflow.patch b/sci-libs/mc/files/1.4-overflow.patch new file mode 100644 index 000000000000..78610b0f2210 --- /dev/null +++ b/sci-libs/mc/files/1.4-overflow.patch @@ -0,0 +1,13 @@ +diff --git a/src/gem/gemdisp.c b/src/gem/gemdisp.c +index 01f277f..96d5851 100644 +--- a/src/gem/gemdisp.c ++++ b/src/gem/gemdisp.c +@@ -1631,7 +1631,7 @@ VPUBLIC void Gem_writeDX(Gem *thee, Vio *sock, + VPUBLIC void Gem_writeTEC(Gem *thee, Vio *sock, + int fldKey, double *defX[MAXV]) + { +- char str1[10], str2[10]; ++ char str1[16], str2[16]; + int i, j, vec, dim, dimII, dimVV, numVV, numSS; + VV *vx; + SS *sm; diff --git a/sci-libs/mc/files/1.4-superlu.patch b/sci-libs/mc/files/1.4-superlu.patch new file mode 100644 index 000000000000..cc3ce0a24740 --- /dev/null +++ b/sci-libs/mc/files/1.4-superlu.patch @@ -0,0 +1,21 @@ +diff --git a/src/bam/zslu.c b/src/bam/zslu.c +index 973b911..d82c7fd 100644 +--- a/src/bam/zslu.c ++++ b/src/bam/zslu.c +@@ -401,6 +401,7 @@ VPUBLIC int Zslu_factor(Zslu *thee) + SCformat *Lstore; + SuperMatrix *BB; + superlu_options_t *oopts; ++ SuperLUStat_t stat; + + VASSERT( thee != VNULL ); + +@@ -444,7 +445,7 @@ VPUBLIC int Zslu_factor(Zslu *thee) + Lstore->nnz + Ustore->nnz - thee->n); + printf("L\\U MB %.3f\ttotal MB needed %.3f\texpansions %d\n", + mem_usage.for_lu/1e6, mem_usage.total_needed/1e6, +- mem_usage.expansions); ++ stat.expansions); + fflush(stdout); + + } else if ( info > 0 && thee->lwork == -1 ) { diff --git a/sci-libs/mc/mc-1.4.ebuild b/sci-libs/mc/mc-1.4.ebuild new file mode 100644 index 000000000000..4c264229535b --- /dev/null +++ b/sci-libs/mc/mc-1.4.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/mc/mc-1.4.ebuild,v 1.1 2010/11/01 14:52:26 jlec Exp $ + +EAPI="2" + +inherit autotools eutils multilib + +DESCRIPTION="2D/3D AFEM code for nonlinear geometric PDE" +HOMEPAGE="http://fetk.org/codes/mc/index.html" +SRC_URI="http://www.fetk.org/codes/download/${P}.tar.gz" + +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +LICENSE="GPL-2" +IUSE="debug" + +RDEPEND=" + dev-libs/maloc + media-libs/sg + sci-libs/amd + sci-libs/gamer + sci-libs/punc + sci-libs/superlu + sci-libs/umfpack" +DEPEND="${RDEPEND}" + +S="${WORKDIR}"/${PN} + +src_prepare() { + epatch \ + "${FILESDIR}"/${PV}-superlu.patch \ + "${FILESDIR}"/${PV}-overflow.patch \ + "${FILESDIR}"/${PV}-multilib.patch + sed \ + -e 's:AMD_order:amd_order:g' \ + -e 's:UMFPACK_numeric:umfpack_di_numeric:g' \ + -e 's:buildg_:matvec_:g' \ + -i configure.ac || die + eautoreconf +} + +src_configure() { + local fetk_include + local fetk_lib + + fetk_include="${EPREFIX}"/usr/include + fetk_lib="${EPREFIX}"/usr/$(get_libdir) + export FETK_INCLUDE="${fetk_include}" + export FETK_LIBRARY="${fetk_lib}" + export FETK_MPI_LIBRARY="${fetk_lib}" + export FETK_VF2C_LIBRARY="${fetk_lib}" + export FETK_BLAS_LIBRARY="${fetk_lib}" + export FETK_LAPACK_LIBRARY="${fetk_lib}" + export FETK_AMD_LIBRARY="${fetk_lib}" + export FETK_UMFPACK_LIBRARY="${fetk_lib}" + export FETK_SUPERLU_LIBRARY="${fetk_lib}" + export FETK_ARPACK_LIBRARY="${fetk_lib}" + export FETK_CGCODE_LIBRARY="${fetk_lib}" + export FETK_PMG_LIBRARY="${fetk_lib}" + + econf \ + $(use_enable debug vdebug) \ + --disable-triplet \ + --enable-shared +} + +src_install() { + emake DESTDIR="${D}" install || die +} diff --git a/sci-libs/mc/metadata.xml b/sci-libs/mc/metadata.xml new file mode 100644 index 000000000000..c6856dc7f2cf --- /dev/null +++ b/sci-libs/mc/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +<maintainer> + <email>jlec@gentoo.org</email> +</maintainer> +</pkgmetadata> |