summaryrefslogtreecommitdiff
path: root/math/scilab
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2002-05-22 10:37:04 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2002-05-22 10:37:04 +0000
commit5127d2fbcaaca5c9c8cb9bc5f46f4569be2839e8 (patch)
tree847f94402f8eae1b02d168d6e922d5f4cc8ebd25 /math/scilab
parent5adbdfc6ed21b0a2d260ef3c027d224e62521b01 (diff)
downloadpkgsrc-5127d2fbcaaca5c9c8cb9bc5f46f4569be2839e8.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')
-rw-r--r--math/scilab/distinfo3
-rw-r--r--math/scilab/patches/patch-ay21
2 files changed, 23 insertions, 1 deletions
diff --git a/math/scilab/distinfo b/math/scilab/distinfo
index 862c26139ca..a247c89428a 100644
--- a/math/scilab/distinfo
+++ b/math/scilab/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2002/03/05 21:05:52 dmcmahill Exp $
+$NetBSD: distinfo,v 1.7 2002/05/22 10:37:04 dmcmahill Exp $
SHA1 (scilab-2.6.src.tar.gz) = a91d9a33e849844ec8d6ce98657ded085c5928e0
Size (scilab-2.6.src.tar.gz) = 6725259 bytes
@@ -26,3 +26,4 @@ SHA1 (patch-au) = 6d4bb69d7ff1bc1c06c1bc7359725c14da6222da
SHA1 (patch-av) = 96297761da050b71096f41d32566152a52e470a5
SHA1 (patch-aw) = b243b52711a6219811d26d8640e185b698585493
SHA1 (patch-ax) = 760f7b506fbe47d6db6ecfdf4440c03dce07d6cf
+SHA1 (patch-ay) = 0be5a69e6146fbd664406c7ed10fabe0c7d6e785
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
++