[Frugalware-git] frugalware-current: scilab-4.1.2-4-x86_64
jercel
jercel16 at gmail.com
Mon Jan 10 20:12:59 CET 2011
Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=7fe0498c58247a2371f980339ab551f40d70276c
commit 7fe0498c58247a2371f980339ab551f40d70276c
Author: jercel <jercel16 at gmail.com>
Date: Mon Jan 10 20:08:24 2011 +0100
scilab-4.1.2-4-x86_64
* Rebuilt with gcc-gfortran>=4.5.2-2
* Patched for gcc4.5
* depends fixed
* Close #4402
diff --git a/source/xapps-extra/scilab/FrugalBuild b/source/xapps-extra/scilab/FrugalBuild
index 58698c7..9e54b52 100644
--- a/source/xapps-extra/scilab/FrugalBuild
+++ b/source/xapps-extra/scilab/FrugalBuild
@@ -6,17 +6,19 @@ pkgver=4.1.2
pkgrel=4
pkgdesc="Scilab is a scientific software package for numerical computations."
url="http://www.scilab.org/"
-depends=('vte>=0.24.0-2' 'ncurses' 'libgtkhtml>=2.11.1-4' 'libgfortran' 'readline' 'libgcc')
-makedepends=('gcc-gfortran')
+depends=('vte>=0.26.2' 'ncurses' 'libgtkhtml>=2.11.1-4' 'libgfortran' 'readline' 'libgcc' 'libxml2' 'xaw3d' 'ocaml')
+makedepends=('gcc-gfortran>=4.5.2-2')
groups=('xapps-extra')
archs=('i686' 'x86_64')
license="Scilab License"
options=('scriptlet')
up2date="lynx -dump http://scilabsoft.inria.fr/download/index_download.php?page=release.html |grep scilab.*-src.tar.gz |sed -ne 's/.*b-\(.*\)-src.*/\1/; 1 p'"
-source=($url/download/$pkgver/$pkgname-$pkgver-src.tar.gz)
-sha1sums=('d3f3190bd11fe23eebec03fe9feaced0406ddfe3')
+source=($url/download/$pkgver/$pkgname-$pkgver-src.tar.gz gcc45.patch)
+sha1sums=('d3f3190bd11fe23eebec03fe9feaced0406ddfe3' \
+ 'fc5fa60c708be076f719ca13ce2a5a7ad0e273aa')
build() {
+ Fpatchall
Fconf --disable-static \
--without-tk \
--with-gtk2 \
diff --git a/source/xapps-extra/scilab/gcc45.patch b/source/xapps-extra/scilab/gcc45.patch
new file mode 100644
index 0000000..ec15e50
--- /dev/null
+++ b/source/xapps-extra/scilab/gcc45.patch
@@ -0,0 +1,23 @@
+--- routines/system/msgs.f
++++ routines/system/msgs.f
+@@ -82,7 +82,7 @@
+ call showstack()
+ goto 9999
+ 109 continue
+- write(buf(1:5),'(1pI5)') ierr
++ write(buf(1:5),'(I5)') ierr
+ call basout(io, wte, 'rank defficient. rank = '//buf(1:5))
+ goto 9999
+ 110 continue
+--- routines/system/Makefile.in
++++ routines/system/Makefile.in
+@@ -41,6 +41,9 @@
+ getsym.o: getsym.f
+ $(FC) @FC_OPTIONS2@ -c getsym.f -o getsym.o
+
++algebre.o: algebre.f
++ $(FC) $(FC_OPTIONS) -fno-range-check -c $< -o $@
++
+ allops.o: ../stack.h
+ bexec.o: ../stack.h
+ clause.o: ../stack.h
More information about the Frugalware-git
mailing list