diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-05-01 21:29:17 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-05-01 21:29:17 -0300 |
commit | 5a1b7efd1dfd0d0a1f4a7a4b68ea7b69f06aa6d1 (patch) | |
tree | f2d8419cf544c9c1980e49a5a94f19252e17d4e7 /extra/octave | |
parent | 02380099f9ca13810767a2d25742c6862e255852 (diff) | |
parent | 40f0b1c7106cc1fed13f14e80f083ecd69c416f5 (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community/clementine/PKGBUILD
community/google-gadgets/PKGBUILD
community/redis/PKGBUILD
community/uzbl/PKGBUILD
extra/anjuta/PKGBUILD
extra/atkmm/PKGBUILD
extra/ekiga/PKGBUILD
extra/epiphany/PKGBUILD
extra/evolution-data-server/PKGBUILD
extra/gdl/PKGBUILD
extra/glade/PKGBUILD
extra/glibmm/PKGBUILD
extra/gnome-control-center/PKGBUILD
extra/gnome-desktop/PKGBUILD
extra/gnome-menus/PKGBUILD
extra/gnome-nettool/PKGBUILD
extra/gnome-panel/PKGBUILD
extra/gnome-sharp/PKGBUILD
extra/gtk2/PKGBUILD
extra/gtkmm/PKGBUILD
extra/libchamplain/PKGBUILD
extra/libgda/PKGBUILD
extra/libotr/PKGBUILD
extra/libvncserver/PKGBUILD
extra/libwebkit/PKGBUILD
extra/notification-daemon/PKGBUILD
extra/pangomm/PKGBUILD
extra/pidgin/PKGBUILD
extra/pygobject/PKGBUILD
extra/rasqal/PKGBUILD
extra/redland/PKGBUILD
extra/vte/PKGBUILD
extra/xarchiver/PKGBUILD
extra/yelp/PKGBUILD
testing/gnome-control-center/PKGBUILD
testing/mesa/PKGBUILD
testing/rasqal/PKGBUILD
testing/redland/PKGBUILD
Diffstat (limited to 'extra/octave')
-rw-r--r-- | extra/octave/PKGBUILD | 29 | ||||
-rw-r--r-- | extra/octave/octave-3.4.0-gcc46.patch | 24 |
2 files changed, 36 insertions, 17 deletions
diff --git a/extra/octave/PKGBUILD b/extra/octave/PKGBUILD index 0c921a15f..59f6d7e5d 100644 --- a/extra/octave/PKGBUILD +++ b/extra/octave/PKGBUILD @@ -1,42 +1,38 @@ -# $Id: PKGBUILD 103149 2010-12-15 21:12:17Z ronald $ +# $Id: PKGBUILD 120945 2011-04-27 18:09:04Z ronald $ # Maintainer: Ronald van Haren <ronald.archlinux.org> # Contributor : shining <shiningxc.at.gmail.com> # Contributor : cyberdune <cyberdune@gmail.com> pkgname=octave -pkgver=3.2.4 +pkgver=3.4.0 pkgrel=2 pkgdesc="A high-level language, primarily intended for numerical computations." arch=('i686' 'x86_64' 'mips64el') url="http://www.octave.org" license=('GPL') -depends=('fftw' 'pcre' 'curl' 'lapack' 'libx11' 'graphicsmagick' 'glpk' 'hdf5' 'gcc-libs') +depends=('fftw' 'pcre' 'curl' 'lapack' 'libx11' 'graphicsmagick' 'glpk' 'hdf5' 'gcc-libs' 'qhull') makedepends=('texinfo' 'graphicsmagick' 'gcc-fortran' 'umfpack') optdepends=('texinfo: for help-support in octave' 'gnuplot: alternative plotting' 'umfpack: LU decomposition of some large sparse matrices') -source=("ftp://ftp.octave.org/pub/octave/octave-$pkgver.tar.bz2" - 'octave-3.2.0_as_needed.patch' 'octave-3.2.0_parallel_make.patch' 'imread.patch') +source=("ftp://ftp.gnu.org/gnu/octave/octave-$pkgver.tar.bz2" + octave-3.4.0-gcc46.patch) options=('!emptydirs') -install=octave.install -md5sums=('608196657f4fa010420227b77333bb71' - '33c8886cd908ace40f8b60334df1c34f' - 'd59d783a8d7e8d8306caed4b2b8671a4' - '72d33ba1a862244f970cf259923815d9') +#install=octave.install +sha1sums=('936a8fc962abd96e7568fb5909ec2a4d7997a1a8' + '791c905a80510783e5f9c556c12f02400887fbec') build() { cd ${srcdir}/${pkgname}-${pkgver} - # gentoo patches - patch -Np1 -i ${srcdir}/octave-3.2.0_as_needed.patch - patch -Np1 -i ${srcdir}/octave-3.2.0_parallel_make.patch - patch -Np0 -i ${srcdir}/imread.patch - + # fedora gcc46 patch + patch -Np1 -i ${srcdir}/octave-3.4.0-gcc46.patch + # http://www.nabble.com/Random-rounding-errors-td16010966.html FFLAGS="-O -ffloat-store" \ ./configure --prefix=/usr --libexecdir=/usr/lib \ - --enable-shared --disable-static + --enable-shared --disable-static --disable-docs make } @@ -45,5 +41,4 @@ package(){ cd ${srcdir}/${pkgname}-${pkgver} make DESTDIR="${pkgdir}" install - } diff --git a/extra/octave/octave-3.4.0-gcc46.patch b/extra/octave/octave-3.4.0-gcc46.patch new file mode 100644 index 000000000..c174204ac --- /dev/null +++ b/extra/octave/octave-3.4.0-gcc46.patch @@ -0,0 +1,24 @@ +diff -up octave-3.4.0/liboctave/oct-alloc.h.gcc46 octave-3.4.0/liboctave/oct-alloc.h +--- octave-3.4.0/liboctave/oct-alloc.h.gcc46 2011-02-08 03:00:51.000000000 -0700 ++++ octave-3.4.0/liboctave/oct-alloc.h 2011-02-08 09:41:23.984081687 -0700 +@@ -23,6 +23,8 @@ along with Octave; see the file COPYING. + #if !defined (octave_oct_alloc_h) + #define octave_oct_alloc_h 1 + ++#include <cstddef> ++ + class + OCTAVE_API + octave_allocator +diff -up octave-3.4.0/src/pr-output.cc.gcc46 octave-3.4.0/src/pr-output.cc +--- octave-3.4.0/src/pr-output.cc.gcc46 2011-02-08 03:00:52.000000000 -0700 ++++ octave-3.4.0/src/pr-output.cc 2011-02-08 09:55:16.149662744 -0700 +@@ -3024,7 +3024,7 @@ abs (T x) + } + + #define INSTANTIATE_ABS(T) \ +- template /* static */ inline T abs (T) ++ template /* static */ T abs (T) + + INSTANTIATE_ABS(signed char); + INSTANTIATE_ABS(short); |