aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Barbieri <lssndrbarbieri@gmail.com>2022-05-31 12:21:47 +0200
committerAlessandro Barbieri <lssndrbarbieri@gmail.com>2022-05-31 12:21:47 +0200
commitf31b651a0dfb663ba1042962803d6e567e4088f3 (patch)
tree8b640543978c25a1afd4fe2579a2e006c51d8c1e /sci-mathematics
parentdev-python/statmake: update SRC_URI (diff)
downloadguru-f31b651a0dfb663ba1042962803d6e567e4088f3.tar.gz
guru-f31b651a0dfb663ba1042962803d6e567e4088f3.tar.bz2
guru-f31b651a0dfb663ba1042962803d6e567e4088f3.zip
sci-mathematics/chaco: fix octave file
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/chaco/chaco-2.2-r3.ebuild1
-rw-r--r--sci-mathematics/chaco/files/chaco-2.2-fix-octave-file.patch11
2 files changed, 12 insertions, 0 deletions
diff --git a/sci-mathematics/chaco/chaco-2.2-r3.ebuild b/sci-mathematics/chaco/chaco-2.2-r3.ebuild
index 00ce9bdb8..791e6d5d5 100644
--- a/sci-mathematics/chaco/chaco-2.2-r3.ebuild
+++ b/sci-mathematics/chaco/chaco-2.2-r3.ebuild
@@ -17,6 +17,7 @@ PATCHES=(
"${FILESDIR}/${P}-lib.patch"
"${FILESDIR}/${P}-respect-flags.patch"
"${FILESDIR}/${P}-shared.patch"
+ "${FILESDIR}/${P}-fix-octave-file.patch"
)
src_compile() {
diff --git a/sci-mathematics/chaco/files/chaco-2.2-fix-octave-file.patch b/sci-mathematics/chaco/files/chaco-2.2-fix-octave-file.patch
new file mode 100644
index 000000000..92d41471c
--- /dev/null
+++ b/sci-mathematics/chaco/files/chaco-2.2-fix-octave-file.patch
@@ -0,0 +1,11 @@
+--- a/code/matlab/showgraph.m
++++ b/code/matlab/showgraph.m
+@@ -55,7 +55,7 @@
+
+ % Clear old graph
+
+- clg;
++ clf;
+
+ % Create file names
+