diff options
Diffstat (limited to 'math/asir2000/files')
-rw-r--r-- | math/asir2000/files/patch-aa | 45 | ||||
-rw-r--r-- | math/asir2000/files/patch-ab | 11 | ||||
-rw-r--r-- | math/asir2000/files/patch-ac | 12 | ||||
-rw-r--r-- | math/asir2000/files/patch-ad | 33 | ||||
-rw-r--r-- | math/asir2000/files/patch-ae | 14 | ||||
-rw-r--r-- | math/asir2000/files/patch-af | 30 |
6 files changed, 145 insertions, 0 deletions
diff --git a/math/asir2000/files/patch-aa b/math/asir2000/files/patch-aa new file mode 100644 index 000000000000..25813f0b8970 --- /dev/null +++ b/math/asir2000/files/patch-aa @@ -0,0 +1,45 @@ +--- include/Risa.tmpl.orig Wed Aug 29 11:35:21 2001 ++++ include/Risa.tmpl Wed Aug 29 12:09:55 2001 +@@ -11,7 +11,7 @@ + /* #define USE_FFT_FLOAT */ + /* #define USE_LAPACK */ + /* #define USE_FEP */ +-/* #undef OpenXM_HOME */ ++#undef OpenXM_HOME + /* #define USE_INTERVAL */ + + #if defined(LinuxArchitecture) +@@ -38,7 +38,7 @@ + #endif + + ASIR_BINDIR=$(ROOTDIR)/bin +-ASIR_LIBDIR=$(ROOTDIR)/lib/asir ++ASIR_LIBDIR=$(ROOTDIR)/share/asir + ASIR_INCDIR=$(ROOTDIR)/include/asir + GC_INCDIR=$(ROOTDIR)/include/gc + +@@ -48,8 +48,6 @@ + CC= cc + #endif + +-CDEBUGFLAGS= -g -O +- + #if defined(SunArchitecture) + #if SystemV4 + #if defined(SparcArchitecture) +@@ -114,7 +112,15 @@ + + #ifdef USE_LAPACK + LAPACK=1 ++#if defined(OpenXM_HOME) + LAPACKLIB = -llapack -lblas -lI77 -lF77 ++#else ++#if defined(FreeBSDArchitecture) && OSMajorVersion >= 4 ++LAPACKLIB = -L/usr/local/lib -lg2c -llapack -lblas ++#else ++LAPACKLIB = -L/usr/local/lib -lf2c -llapack -lblas ++#endif ++#endif + #else + LAPACK=0 + LAPACKLIB = diff --git a/math/asir2000/files/patch-ab b/math/asir2000/files/patch-ab new file mode 100644 index 000000000000..470ed606fa5f --- /dev/null +++ b/math/asir2000/files/patch-ab @@ -0,0 +1,11 @@ +--- Imakefile.org Sun Feb 4 20:11:38 2001 ++++ Imakefile Sun Feb 4 20:12:03 2001 +@@ -98,7 +98,7 @@ + + install:: $(PROGRAMS) + MakeDir($(ASIR_LIBDIR)) +- $(INSTALL) $(INSTALLFLAGS) $(PROGRAMS) $(ASIR_LIBDIR) ++ $(INSTALL) $(INSTALLFLAGS) $(PROGRAMS) $(ASIR_BINDIR) + + install-bin-lib:: $(PROGRAMS) + MakeDir($(ASIR_LIBDIR)) diff --git a/math/asir2000/files/patch-ac b/math/asir2000/files/patch-ac new file mode 100644 index 000000000000..4f1fec7152fe --- /dev/null +++ b/math/asir2000/files/patch-ac @@ -0,0 +1,12 @@ +--- include/version.h.orig Thu Aug 9 10:20:46 2001 ++++ include/version.h Thu Aug 16 19:00:40 2001 +@@ -47,5 +47,7 @@ + * + * $OpenXM: OpenXM_contrib2/asir2000/include/version.h,v 1.45 2001/07/03 01:41:27 noro Exp $ + */ +-#define ASIR_VERSION 20010703 +-#define ASIR_DISTRIBUTION "Kobe" ++#define ASIR_VERSION 20010809 ++#define ASIR_DISTRIBUTION "Plotting Group" ++#define PARI_VERSION "PARI CALCULATOR Version 2.1.1 (released) Copyright (C) 2000 The PARI Group" ++#define LAPACK_VERSION "LAPACK Project Version 3.0" diff --git a/math/asir2000/files/patch-ad b/math/asir2000/files/patch-ad new file mode 100644 index 000000000000..39fb80e2ba00 --- /dev/null +++ b/math/asir2000/files/patch-ad @@ -0,0 +1,33 @@ +--- configure.org Thu Aug 16 18:36:16 2001 ++++ configure Thu Aug 16 18:38:59 2001 +@@ -4,6 +4,7 @@ + use_plot=0 + use_pari=0 + use_interval=0 ++use_lapack=0 + use_fep=0 + oxhome=/usr/local + +@@ -22,6 +23,8 @@ + use_pari=1 ;; + -interval) + use_interval=1 ;; ++ -lapack) ++ use_lapack=1 ;; + -fep) + use_fep=1 ;; + esac +@@ -48,8 +51,12 @@ + fi + + if [ $use_interval != 0 ]; then +-libname=$libname"_itv" + echo "#define USE_INTERVAL" >> include/config.h ++fi ++ ++if [ $use_lapack != 0 ]; then ++libname=$libname"_itv" ++echo "#define USE_LAPACK" >> include/config.h + fi + + if [ $use_fep != 0 ]; then diff --git a/math/asir2000/files/patch-ae b/math/asir2000/files/patch-ae new file mode 100644 index 000000000000..20592b6057cf --- /dev/null +++ b/math/asir2000/files/patch-ae @@ -0,0 +1,14 @@ +--- builtin/numerical.c.org Thu Aug 16 18:47:06 2001 ++++ builtin/numerical.c Thu Aug 16 18:47:52 2001 +@@ -51,7 +51,11 @@ + #include "parse.h" + + #if LAPACK ++#if (__FreeBSD__ >= 4) ++#include <g2c.h> ++#else + #include <f2c.h> ++#endif + + void Pflinsolve(); + diff --git a/math/asir2000/files/patch-af b/math/asir2000/files/patch-af new file mode 100644 index 000000000000..d5549e5c019b --- /dev/null +++ b/math/asir2000/files/patch-af @@ -0,0 +1,30 @@ +--- parse/glob.c.orig Thu Aug 9 10:20:46 2001 ++++ parse/glob.c Thu Aug 16 19:04:59 2001 +@@ -50,6 +50,7 @@ + #include "ca.h" + #include "al.h" + #include "parse.h" ++#include "version.h" + #if PARI + #include "genpari.h" + #endif +@@ -688,11 +689,15 @@ + printf("This is Risa/Asir, Version %d (%s Distribution).\n", + get_asir_version(), get_asir_distribution()); + #endif ++ + printf("Copyright (C) 1994-2000, all rights reserved, FUJITSU LABORATORIES LIMITED.\n"); + printf("Copyright 2000,2001, Risa/Asir committers, http://www.openxm.org/.\n"); + printf("GC 5.3, copyright 1999, H-J. Boehm, A. J. Demers, Xerox, SGI, HP.\n"); +- printf("PARI 2.0.17(beta), copyright (C) 1989-1999,\n"); +- printf(" C. Batut, K. Belabas, D. Bernardi, H. Cohen and M. Olivier.\n"); +-} +- ++#if defined(PARI) ++ printf("%s.\n",PARI_VERSION); ++#endif + ++#if defined(LAPACK) ++ printf("%s.\n",LAPACK_VERSION); ++#endif ++} |