commit:     f31b651a0dfb663ba1042962803d6e567e4088f3
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Tue May 31 10:21:47 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Tue May 31 10:21:47 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f31b651a

sci-mathematics/chaco: fix octave file

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sci-mathematics/chaco/chaco-2.2-r3.ebuild                   |  1 +
 sci-mathematics/chaco/files/chaco-2.2-fix-octave-file.patch | 11 +++++++++++
 2 files changed, 12 insertions(+)

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
+ 

Reply via email to