commit: d4407d3bbe337a96c4bcf477bd59eae81ad6ff53 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> AuthorDate: Sat May 28 21:18:19 2022 +0000 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> CommitDate: Sat May 28 21:19:44 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d4407d3b
sci-libs/CombBLAS: fix matlab startup file Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> ...1.ebuild => CombBLAS-1.16.0_p20220331-r1.ebuild} | 1 + sci-libs/CombBLAS/Manifest | 2 +- ...mbBLAS-1.16.0_p20220331-fix-matlab-addpath.patch | 21 +++++++++++++++++++++ 3 files changed, 23 insertions(+), 1 deletion(-) diff --git a/sci-libs/CombBLAS/CombBLAS-1.16.0_p20220331.ebuild b/sci-libs/CombBLAS/CombBLAS-1.16.0_p20220331-r1.ebuild similarity index 96% rename from sci-libs/CombBLAS/CombBLAS-1.16.0_p20220331.ebuild rename to sci-libs/CombBLAS/CombBLAS-1.16.0_p20220331-r1.ebuild index fd6d8db20..fb00664a6 100644 --- a/sci-libs/CombBLAS/CombBLAS-1.16.0_p20220331.ebuild +++ b/sci-libs/CombBLAS/CombBLAS-1.16.0_p20220331-r1.ebuild @@ -31,6 +31,7 @@ PATCHES=( "${FILESDIR}/${P}-cxx17.patch" "${FILESDIR}/${P}-system-libs.patch" "${FILESDIR}/${P}-GNUInstallDirs.patch" + "${FILESDIR}/${P}-fix-matlab-addpath.patch" ) src_prepare() { diff --git a/sci-libs/CombBLAS/Manifest b/sci-libs/CombBLAS/Manifest index a6a6f7033..bb7f1cc0f 100644 --- a/sci-libs/CombBLAS/Manifest +++ b/sci-libs/CombBLAS/Manifest @@ -1 +1 @@ -DIST CombBLAS-1.16.0_p20220331.tar.gz 43783582 BLAKE2B b80e871a21832b2210642bacddeef0c5447cee1e46be3aab2accaaddd393bc0fc05c6d7505a154d303dc3449ec5772d789300b6a78dd97e8119739495aba642f SHA512 5cb6156ab0d8a3fa9c13b9599d2e2bd3f6d3a1fd81f101cf2cadbe72d4b3bcd35013687835549f98fef3ea8e371e562ac55d2f4aa91720a0ef1bdf6da3a97640 +DIST CombBLAS-1.16.0_p20220331-r1.tar.gz 43783582 BLAKE2B b80e871a21832b2210642bacddeef0c5447cee1e46be3aab2accaaddd393bc0fc05c6d7505a154d303dc3449ec5772d789300b6a78dd97e8119739495aba642f SHA512 5cb6156ab0d8a3fa9c13b9599d2e2bd3f6d3a1fd81f101cf2cadbe72d4b3bcd35013687835549f98fef3ea8e371e562ac55d2f4aa91720a0ef1bdf6da3a97640 diff --git a/sci-libs/CombBLAS/files/CombBLAS-1.16.0_p20220331-fix-matlab-addpath.patch b/sci-libs/CombBLAS/files/CombBLAS-1.16.0_p20220331-fix-matlab-addpath.patch new file mode 100644 index 000000000..8cfacc264 --- /dev/null +++ b/sci-libs/CombBLAS/files/CombBLAS-1.16.0_p20220331-fix-matlab-addpath.patch @@ -0,0 +1,21 @@ +--- a/Matlab/startup.m ++++ b/Matlab/startup.m +@@ -1,12 +1,8 @@ +-disp('This is C:\Users\John\Documents\Gblas\Matlab\startup.m') ++disp('This is /usr/share/octave/site/m/CombBLAS/startup.m') + + format compact + +-addpath('C:\Users\John\Documents\LincolnLabs\matlab') +-addpath('C:\Users\John\Documents\MATLAB\meshpart') +-addpath('C:\Users\John\Documents\MATLAB\UFget') +-addpath('C:\Users\John\Documents\MATLAB\ncm') +-addpath('C:\Users\John\Documents\Gblas\Matlab\utils') +-addpath('C:\Users\John\Documents\Gblas\Matlab\spindex') +-addpath('C:\Users\John\Documents\Gblas\Matlab\apsp') +-addpath('C:\Users\John\Documents\Gblas\Matlab\stuff') +\ Manca newline alla fine del file ++addpath('/usr/share/octave/site/m/CombBLAS/utils') ++addpath('/usr/share/octave/site/m/CombBLAS/spindex') ++addpath('/usr/share/octave/site/m/CombBLAS/apsp') ++addpath('/usr/share/octave/site/m/CombBLAS/stuff')