From 1f86bf1b08cb980cea57c1d4d3187e2251f5a63b Mon Sep 17 00:00:00 2001 From: root Date: Mon, 3 Jun 2013 00:08:24 -0700 Subject: Mon Jun 3 00:08:24 PDT 2013 --- extra/octave/PKGBUILD | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'extra/octave/PKGBUILD') diff --git a/extra/octave/PKGBUILD b/extra/octave/PKGBUILD index e72c8e08a..ae93b817e 100644 --- a/extra/octave/PKGBUILD +++ b/extra/octave/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 185713 2013-05-17 13:46:00Z ronald $ +# $Id: PKGBUILD 186980 2013-06-02 10:21:27Z ronald $ # Maintainer: Ronald van Haren # Contributor : shining # Contributor : cyberdune pkgname=octave pkgver=3.6.4 -pkgrel=1 +pkgrel=2 pkgdesc="A high-level language, primarily intended for numerical computations." arch=('i686' 'x86_64') url="http://www.octave.org" @@ -14,19 +14,21 @@ depends=('fftw' 'curl' 'graphicsmagick' 'glpk' 'hdf5' 'qhull' 'fltk' 'suitespars makedepends=('gcc-fortran' 'texlive-core') optdepends=('texinfo: for help-support in octave' 'gnuplot: alternative plotting') -source=(ftp://ftp.gnu.org/gnu/octave/octave-$pkgver.tar.bz2{,.sig}) +source=(ftp://ftp.gnu.org/gnu/octave/octave-$pkgver.tar.bz2{,.sig} + mex-gcc-4.8.patch) options=('!emptydirs') install=octave.install sha1sums=('3cc9366b6dbbd336eaf90fe70ad16e63705d82c4' - 'SKIP') + 'SKIP' + '0608af9b7ccce8455f534d2fc4acf2f4c8f83a60') build() { cd "${srcdir}/${pkgname}-${pkgver}" - autoreconf -vfi + # https://savannah.gnu.org/bugs/?38746 + patch -Np1 -i "${srcdir}/mex-gcc-4.8.patch" - # http://www.nabble.com/Random-rounding-errors-td16010966.html - FFLAGS="-O -ffloat-store" \ + autoreconf -vfi ./configure --prefix=/usr --libexecdir=/usr/lib \ --enable-shared --disable-static \ -- cgit v1.2.3-54-g00ecf