aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Barbieri <lssndrbarbieri@gmail.com>2022-05-28 23:18:19 +0200
committerAlessandro Barbieri <lssndrbarbieri@gmail.com>2022-05-28 23:19:44 +0200
commitd4407d3bbe337a96c4bcf477bd59eae81ad6ff53 (patch)
tree8cc3c13ea5d9cb46bfda3a77a1057781363237ae /sci-libs
parentoctaveforge.eclass: patch before moving things (diff)
downloadguru-d4407d3bbe337a96c4bcf477bd59eae81ad6ff53.tar.gz
guru-d4407d3bbe337a96c4bcf477bd59eae81ad6ff53.tar.bz2
guru-d4407d3bbe337a96c4bcf477bd59eae81ad6ff53.zip
sci-libs/CombBLAS: fix matlab startup file
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/CombBLAS/CombBLAS-1.16.0_p20220331-r1.ebuild (renamed from sci-libs/CombBLAS/CombBLAS-1.16.0_p20220331.ebuild)1
-rw-r--r--sci-libs/CombBLAS/Manifest2
-rw-r--r--sci-libs/CombBLAS/files/CombBLAS-1.16.0_p20220331-fix-matlab-addpath.patch21
3 files changed, 23 insertions, 1 deletions
diff --git a/sci-libs/CombBLAS/CombBLAS-1.16.0_p20220331.ebuild b/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')