From d3a97d1d611cac541f693881f3ac6727f1b72bfe Mon Sep 17 00:00:00 2001 From: Markus Dittrich Date: Wed, 9 Sep 2009 02:59:39 +0000 Subject: Fixed typo in dlmwrite (bug #283315). (Portage version: 2.1.6.13/cvs/Linux x86_64) --- sci-mathematics/octave/ChangeLog | 6 +++++- sci-mathematics/octave/files/octave-3.2.0-dlmwrite.patch | 12 ++++++++++++ sci-mathematics/octave/octave-3.2.0.ebuild | 3 ++- 3 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 sci-mathematics/octave/files/octave-3.2.0-dlmwrite.patch diff --git a/sci-mathematics/octave/ChangeLog b/sci-mathematics/octave/ChangeLog index cc5c524ef040..0a2ade85c8e1 100644 --- a/sci-mathematics/octave/ChangeLog +++ b/sci-mathematics/octave/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sci-mathematics/octave # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/octave/ChangeLog,v 1.73 2009/07/10 16:18:49 markusle Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/octave/ChangeLog,v 1.74 2009/09/09 02:59:39 markusle Exp $ + + 09 Sep 2009; Markus Dittrich octave-3.2.0.ebuild, + +files/octave-3.2.0-dlmwrite.patch: + Fixed typo in dlmwrite (bug #283315). 10 Jul 2009; Markus Dittrich octave-3.2.0.ebuild: Disable linking against arpack until it can be made a dependency diff --git a/sci-mathematics/octave/files/octave-3.2.0-dlmwrite.patch b/sci-mathematics/octave/files/octave-3.2.0-dlmwrite.patch new file mode 100644 index 000000000000..1521165ac2f7 --- /dev/null +++ b/sci-mathematics/octave/files/octave-3.2.0-dlmwrite.patch @@ -0,0 +1,12 @@ +diff -Naur octave-3.2.0/scripts/io/dlmwrite.m octave-3.2.0.new/scripts/io/dlmwrite.m +--- octave-3.2.0/scripts/io/dlmwrite.m 2009-05-25 02:04:59.000000000 -0400 ++++ octave-3.2.0.new/scripts/io/dlmwrite.m 2009-09-08 22:08:40.000000000 -0400 +@@ -85,7 +85,7 @@ + function dlmwrite (file, a, varargin) + + if (nargin < 2 || ! ischar (file)) +- ptint_usage (); ++ print_usage (); + endif + + ## set defaults diff --git a/sci-mathematics/octave/octave-3.2.0.ebuild b/sci-mathematics/octave/octave-3.2.0.ebuild index 33ed9f933783..f73478e57a4e 100644 --- a/sci-mathematics/octave/octave-3.2.0.ebuild +++ b/sci-mathematics/octave/octave-3.2.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/octave/octave-3.2.0.ebuild,v 1.5 2009/07/11 16:28:28 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/octave/octave-3.2.0.ebuild,v 1.6 2009/09/09 02:59:39 markusle Exp $ EAPI="2" inherit flag-o-matic fortran xemacs-elisp-common @@ -46,6 +46,7 @@ FORTRAN="gfortran ifc g77 f2c" src_prepare() { epatch "${FILESDIR}"/${P}_parallel_make.patch epatch "${FILESDIR}"/${P}_as_needed.patch + epatch "${FILESDIR}"/${P}-dlmwrite.patch } src_configure() { -- cgit v1.2.3-65-gdbad