1 |
commit: f31b651a0dfb663ba1042962803d6e567e4088f3 |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue May 31 10:21:47 2022 +0000 |
4 |
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
5 |
CommitDate: Tue May 31 10:21:47 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f31b651a |
7 |
|
8 |
sci-mathematics/chaco: fix octave file |
9 |
|
10 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
11 |
|
12 |
sci-mathematics/chaco/chaco-2.2-r3.ebuild | 1 + |
13 |
sci-mathematics/chaco/files/chaco-2.2-fix-octave-file.patch | 11 +++++++++++ |
14 |
2 files changed, 12 insertions(+) |
15 |
|
16 |
diff --git a/sci-mathematics/chaco/chaco-2.2-r3.ebuild b/sci-mathematics/chaco/chaco-2.2-r3.ebuild |
17 |
index 00ce9bdb8..791e6d5d5 100644 |
18 |
--- a/sci-mathematics/chaco/chaco-2.2-r3.ebuild |
19 |
+++ b/sci-mathematics/chaco/chaco-2.2-r3.ebuild |
20 |
@@ -17,6 +17,7 @@ PATCHES=( |
21 |
"${FILESDIR}/${P}-lib.patch" |
22 |
"${FILESDIR}/${P}-respect-flags.patch" |
23 |
"${FILESDIR}/${P}-shared.patch" |
24 |
+ "${FILESDIR}/${P}-fix-octave-file.patch" |
25 |
) |
26 |
|
27 |
src_compile() { |
28 |
|
29 |
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 |
30 |
new file mode 100644 |
31 |
index 000000000..92d41471c |
32 |
--- /dev/null |
33 |
+++ b/sci-mathematics/chaco/files/chaco-2.2-fix-octave-file.patch |
34 |
@@ -0,0 +1,11 @@ |
35 |
+--- a/code/matlab/showgraph.m |
36 |
++++ b/code/matlab/showgraph.m |
37 |
+@@ -55,7 +55,7 @@ |
38 |
+ |
39 |
+ % Clear old graph |
40 |
+ |
41 |
+- clg; |
42 |
++ clf; |
43 |
+ |
44 |
+ % Create file names |
45 |
+ |