summaryrefslogtreecommitdiff
path: root/extra/octave/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/octave/PKGBUILD')
-rw-r--r--extra/octave/PKGBUILD16
1 files changed, 9 insertions, 7 deletions
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 <ronald.archlinux.org>
# Contributor : shining <shiningxc.at.gmail.com>
# Contributor : cyberdune <cyberdune@gmail.com>
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 \