diff options
author | hans <hans@pkgsrc.org> | 2012-05-06 11:07:24 +0000 |
---|---|---|
committer | hans <hans@pkgsrc.org> | 2012-05-06 11:07:24 +0000 |
commit | f3d199f985699ff5eff6b685fcc5e84a1e580111 (patch) | |
tree | d94734dae036c97e895afe0b94fd6825f6e17ce8 | |
parent | d06e5080f21bf658273462c43de4a395361e908b (diff) | |
download | pkgsrc-f3d199f985699ff5eff6b685fcc5e84a1e580111.tar.gz |
Fix build with gcc4.5 and newer. Patch taken from Gentoo, see
https://bugs.gentoo.org/show_bug.cgi?id=321209
-rw-r--r-- | math/scilab/patches/patch-routines_system_Makefile.in | 14 | ||||
-rw-r--r-- | math/scilab/patches/patch-routines_system_msgs.f | 13 |
2 files changed, 27 insertions, 0 deletions
diff --git a/math/scilab/patches/patch-routines_system_Makefile.in b/math/scilab/patches/patch-routines_system_Makefile.in new file mode 100644 index 00000000000..a8dd5541d5a --- /dev/null +++ b/math/scilab/patches/patch-routines_system_Makefile.in @@ -0,0 +1,14 @@ +$NetBSD: patch-routines_system_Makefile.in,v 1.1 2012/05/06 11:07:24 hans Exp $ + +--- routines/system/Makefile.in.orig 2006-10-23 13:49:02.000000000 +0200 ++++ routines/system/Makefile.in 2012-05-06 11:51:37.838241380 +0200 +@@ -41,6 +41,9 @@ include ../Make.lib + 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 diff --git a/math/scilab/patches/patch-routines_system_msgs.f b/math/scilab/patches/patch-routines_system_msgs.f new file mode 100644 index 00000000000..658f3dcddff --- /dev/null +++ b/math/scilab/patches/patch-routines_system_msgs.f @@ -0,0 +1,13 @@ +$NetBSD: patch-routines_system_msgs.f,v 1.1 2012/05/06 11:07:24 hans Exp $ + +--- routines/system/msgs.f.orig 2005-01-18 17:52:40.000000000 +0100 ++++ routines/system/msgs.f 2012-05-06 11:35:56.483374475 +0200 +@@ -81,7 +81,7 @@ c---------------------- message de matlu + 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 |