diff options
author | Thomas Anderson <gentoofan23@gentoo.org> | 2008-07-03 12:13:24 +0000 |
---|---|---|
committer | Thomas Anderson <gentoofan23@gentoo.org> | 2008-07-03 12:13:24 +0000 |
commit | 87d0abeb2f6e7a4423e792dbe1b50b09bd02e993 (patch) | |
tree | 8c6774a67eedeae2b661ff23a6b23a7ef70ace5d /sci-libs/scipy | |
parent | amd64 stable wrt security bug #230075, remove old. (diff) | |
download | gentoo-2-87d0abeb2f6e7a4423e792dbe1b50b09bd02e993.tar.gz gentoo-2-87d0abeb2f6e7a4423e792dbe1b50b09bd02e993.tar.bz2 gentoo-2-87d0abeb2f6e7a4423e792dbe1b50b09bd02e993.zip |
Fix implicit declarations, bug #204874, thanks to Dustin Surawicz for reporting.
(Portage version: 2.1.4.4)
Diffstat (limited to 'sci-libs/scipy')
-rw-r--r-- | sci-libs/scipy/ChangeLog | 7 | ||||
-rw-r--r-- | sci-libs/scipy/files/scipy-0.6.0-implicit.patch | 31 | ||||
-rw-r--r-- | sci-libs/scipy/scipy-0.6.0-r4.ebuild | 3 |
3 files changed, 39 insertions, 2 deletions
diff --git a/sci-libs/scipy/ChangeLog b/sci-libs/scipy/ChangeLog index bfea9950546b..aeb409f77bea 100644 --- a/sci-libs/scipy/ChangeLog +++ b/sci-libs/scipy/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-libs/scipy # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/scipy/ChangeLog,v 1.31 2008/06/23 15:11:53 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/scipy/ChangeLog,v 1.32 2008/07/03 12:13:23 gentoofan23 Exp $ + + 03 Jul 2008; Thomas Anderson <gentoofan23@gentoo.org> + +files/scipy-0.6.0-implicit.patch, scipy-0.6.0-r4.ebuild: + Fix implicit declarations, bug #204874, thanks to Dustin Surawicz for + reporting. 23 Jun 2008; Sébastien Fabbro <bicatali@gentoo.org> scipy-0.6.0-r4.ebuild: diff --git a/sci-libs/scipy/files/scipy-0.6.0-implicit.patch b/sci-libs/scipy/files/scipy-0.6.0-implicit.patch new file mode 100644 index 000000000000..2c7614080c11 --- /dev/null +++ b/sci-libs/scipy/files/scipy-0.6.0-implicit.patch @@ -0,0 +1,31 @@ +diff -aur scipy-0.6.0-orig/scipy/linsolve/SuperLU/SRC/dcomplex.c scipy-0.6.0/scipy/linsolve/SuperLU/SRC/dcomplex.c +--- scipy-0.6.0-orig/scipy/linsolve/SuperLU/SRC/dcomplex.c 2007-09-22 03:55:18.000000000 -0400 ++++ scipy-0.6.0/scipy/linsolve/SuperLU/SRC/dcomplex.c 2008-07-03 08:04:15.000000000 -0400 +@@ -11,6 +11,7 @@ + */ + #include <math.h> + #include <stdio.h> ++#include <stdlib.h> + #include "dcomplex.h" + + +diff -aur scipy-0.6.0-orig/scipy/linsolve/SuperLU/SRC/scomplex.c scipy-0.6.0/scipy/linsolve/SuperLU/SRC/scomplex.c +--- scipy-0.6.0-orig/scipy/linsolve/SuperLU/SRC/scomplex.c 2007-09-22 03:55:18.000000000 -0400 ++++ scipy-0.6.0/scipy/linsolve/SuperLU/SRC/scomplex.c 2008-07-03 08:04:34.000000000 -0400 +@@ -11,6 +11,7 @@ + */ + #include <math.h> + #include <stdio.h> ++#include <stdlib.h> + #include "scomplex.h" + + +diff -aur scipy-0.6.0-orig/scipy/linsolve/SuperLU/SRC/xerbla.c scipy-0.6.0/scipy/linsolve/SuperLU/SRC/xerbla.c +--- scipy-0.6.0-orig/scipy/linsolve/SuperLU/SRC/xerbla.c 2007-09-22 03:55:18.000000000 -0400 ++++ scipy-0.6.0/scipy/linsolve/SuperLU/SRC/xerbla.c 2008-07-03 08:05:27.000000000 -0400 +@@ -1,3 +1,5 @@ ++#include <stdio.h> ++ + /* Subroutine */ int xerbla_(char *srname, int *info) + { + /* -- LAPACK auxiliary routine (version 2.0) -- diff --git a/sci-libs/scipy/scipy-0.6.0-r4.ebuild b/sci-libs/scipy/scipy-0.6.0-r4.ebuild index c507365af7f6..00440da2aeb0 100644 --- a/sci-libs/scipy/scipy-0.6.0-r4.ebuild +++ b/sci-libs/scipy/scipy-0.6.0-r4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/scipy/scipy-0.6.0-r4.ebuild,v 1.4 2008/06/23 15:11:53 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/scipy/scipy-0.6.0-r4.ebuild,v 1.5 2008/07/03 12:13:23 gentoofan23 Exp $ EAPI=1 NEED_PYTHON=2.3 @@ -80,6 +80,7 @@ pkg_setup() { src_unpack() { unpack ${A} cd "${S}" + epatch "${FILESDIR}"/${P}-implicit.patch epatch "${FILESDIR}"/${P}-randomkit.patch epatch "${FILESDIR}"/${P}-cdf.patch epatch "${FILESDIR}"/${P}-fftw-fix.patch |