diff options
author | dmcmahill <dmcmahill> | 2002-05-22 10:37:04 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill> | 2002-05-22 10:37:04 +0000 |
commit | 3a788eecf1fac4b20d131bfcc526869ae691cda5 (patch) | |
tree | 847f94402f8eae1b02d168d6e922d5f4cc8ebd25 /math/scilab/patches | |
parent | f87d58a0e110bcbdf1abf96160072a96cea3a77e (diff) | |
download | pkgsrc-3a788eecf1fac4b20d131bfcc526869ae691cda5.tar.gz |
turn off optimization on one particular fortran file. Fixes a crashing
bug in the scilab function mgetl() which prevents the build from completing
correctly. Problem noted in recent sparc bulk build.
Diffstat (limited to 'math/scilab/patches')
-rw-r--r-- | math/scilab/patches/patch-ay | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/math/scilab/patches/patch-ay b/math/scilab/patches/patch-ay new file mode 100644 index 00000000000..4ac666a4ccf --- /dev/null +++ b/math/scilab/patches/patch-ay @@ -0,0 +1,21 @@ +$NetBSD: patch-ay,v 1.5 2002/05/22 10:37:05 dmcmahill Exp $ + +compile intmgetl without optimization. The symptom is that the scilab +function mgetl() will cause scilab to exit on netbsd-1.5.1/sparc. This +breaks the formatman() function and causes the man pages to not be built. + +--- routines/interf/Makefile.orig Mon May 20 20:51:57 2002 ++++ routines/interf/Makefile Tue May 21 19:33:48 2002 +@@ -109,5 +109,4 @@ + intfile.o : ../stack.h + intgetenv.o : ../stack.h +-intmgetl.o: ../stack.h + stack0.o stack1.o stack2.o: ../stack.h + getdate.o: ../machine.h +@@ -120,2 +119,6 @@ + Makefile.amk : Makefile + $(SCIDIR)/util/Mak2ABSMak Makefile ++ ++intmgetl.o: intmgetl.f ../stack.h ++ $(FC) $(FC_OPTIONS_O0) -c intmgetl.f -o intmgetl.o ++ |