pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/scilab/patches Fix build with gcc4.5 and newer. P...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cf2ec219a7bd
branches:  trunk
changeset: 603438:cf2ec219a7bd
user:      hans <hans%pkgsrc.org@localhost>
date:      Sun May 06 11:07:24 2012 +0000

description:
Fix build with gcc4.5 and newer. Patch taken from Gentoo, see
https://bugs.gentoo.org/show_bug.cgi?id=321209

diffstat:

 math/scilab/patches/patch-routines_system_Makefile.in |  14 ++++++++++++++
 math/scilab/patches/patch-routines_system_msgs.f      |  13 +++++++++++++
 2 files changed, 27 insertions(+), 0 deletions(-)

diffs (35 lines):

diff -r 7266dba4a2ae -r cf2ec219a7bd math/scilab/patches/patch-routines_system_Makefile.in
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/scilab/patches/patch-routines_system_Makefile.in     Sun May 06 11:07:24 2012 +0000
@@ -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 -r 7266dba4a2ae -r cf2ec219a7bd math/scilab/patches/patch-routines_system_msgs.f
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/scilab/patches/patch-routines_system_msgs.f  Sun May 06 11:07:24 2012 +0000
@@ -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



Home | Main Index | Thread Index | Old Index