Date: Sunday, June 2, 2013 @ 12:21:27
Author: ronald
Revision: 186980
archrelease: copy trunk to extra-x86_64
Added:
octave/repos/extra-x86_64/PKGBUILD
(from rev 186979, octave/trunk/PKGBUILD)
octave/repos/extra-x86_64/mex-gcc-4.8.patch
(from rev 186979, octave/trunk/mex-gcc-4.8.patch)
octave/repos/extra-x86_64/octave.install
(from rev 186979, octave/trunk/octave.install)
Deleted:
octave/repos/extra-x86_64/PKGBUILD
octave/repos/extra-x86_64/octave-gethelp.patch
octave/repos/extra-x86_64/octave.install
--+
PKGBUILD | 94 +
mex-gcc-4.8.patch| 31
octave-gethelp.patch | 13 --
octave.install | 36 +-
4 files changed, 97 insertions(+), 77 deletions(-)
Deleted: PKGBUILD
===
--- PKGBUILD2013-06-02 10:21:12 UTC (rev 186979)
+++ PKGBUILD2013-06-02 10:21:27 UTC (rev 186980)
@@ -1,46 +0,0 @@
-# $Id$
-# Maintainer: Ronald van Haren
-# Contributor : shining
-# Contributor : cyberdune
-
-pkgname=octave
-pkgver=3.6.4
-pkgrel=1
-pkgdesc="A high-level language, primarily intended for numerical computations."
-arch=('i686' 'x86_64')
-url="http://www.octave.org";
-license=('GPL')
-depends=('fftw' 'curl' 'graphicsmagick' 'glpk' 'hdf5' 'qhull' 'fltk'
'suitesparse' 'arpack')
-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})
-options=('!emptydirs')
-install=octave.install
-sha1sums=('3cc9366b6dbbd336eaf90fe70ad16e63705d82c4'
- 'SKIP')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- autoreconf -vfi
-
- # http://www.nabble.com/Random-rounding-errors-td16010966.html
- FFLAGS="-O -ffloat-store" \
-
- ./configure --prefix=/usr --libexecdir=/usr/lib \
- --enable-shared --disable-static \
- --with-umfpack="-lumfpack -lsuitesparseconfig" #
https://mailman.cae.wisc.edu/pipermail/help-octave/2012-September/053991.html
-
- LANG=C make
-}
-
-package(){
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- make DESTDIR="${pkgdir}" install
-
- # add octave library path to ld.so.conf.d
- install -d "${pkgdir}/etc/ld.so.conf.d"
- echo "/usr/lib/${pkgname}/${pkgver}" >
"${pkgdir}/etc/ld.so.conf.d/${pkgname}.conf"
-}
Copied: octave/repos/extra-x86_64/PKGBUILD (from rev 186979,
octave/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2013-06-02 10:21:27 UTC (rev 186980)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Ronald van Haren
+# Contributor : shining
+# Contributor : cyberdune
+
+pkgname=octave
+pkgver=3.6.4
+pkgrel=2
+pkgdesc="A high-level language, primarily intended for numerical computations."
+arch=('i686' 'x86_64')
+url="http://www.octave.org";
+license=('GPL')
+depends=('fftw' 'curl' 'graphicsmagick' 'glpk' 'hdf5' 'qhull' 'fltk'
'suitesparse' 'arpack')
+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}
+mex-gcc-4.8.patch)
+options=('!emptydirs')
+install=octave.install
+sha1sums=('3cc9366b6dbbd336eaf90fe70ad16e63705d82c4'
+ 'SKIP'
+ '0608af9b7ccce8455f534d2fc4acf2f4c8f83a60')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ # https://savannah.gnu.org/bugs/?38746
+ patch -Np1 -i "${srcdir}/mex-gcc-4.8.patch"
+
+ autoreconf -vfi
+
+ ./configure --prefix=/usr --libexecdir=/usr/lib \
+ --enable-shared --disable-static \
+ --with-umfpack="-lumfpack -lsuitesparseconfig" #
https://mailman.cae.wisc.edu/pipermail/help-octave/2012-September/053991.html
+
+ LANG=C make
+}
+
+package(){
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make DESTDIR="${pkgdir}" install
+
+ # add octave library path to ld.so.conf.d
+ install -d "${pkgdir}/etc/ld.so.conf.d"
+ echo "/usr/lib/${pkgname}/${pkgver}" >
"${pkgdir}/etc/ld.so.conf.d/${pkgname}.conf"
+}
Copied: octave/repos/extra-x86_64/mex-gcc-4.8.patch (from rev 186979,
octave/trunk/mex-gcc-4.8.patch)
===
--- mex-gcc-4.8.patch (rev 0)
+++ mex-gcc-4.8.patch 2013-06-02 10:21:27 UTC (rev 186980)
@@ -0,0 +1,31 @@
+# HG changeset patch
+# User Clemens Buchacher
+# Date 1369937542 14400
+# Thu May 30 14:12:22 2013 -0400
+# Node ID 122d3f62e179ba044d47e58510905719220d8706
+# Parent e38a0fa08368d4dd6f3a0dfd20cbe28cf8555f73
+do not include C++ header in extern "C" context (bug #38746)
+
+* mex.h: Include mexproto.h outside of extern "C" block.
+
+diff -r e38a0fa08368 -r 122d3f62e179 src/mex.h
+--- a/src/mex.hMon May 27 21:41:57 2013 +0200
b/src/mex.hThu May 30 14:12:22 2013 -0400
+@@ -64,