summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorjtb <jtb@pkgsrc.org>2001-05-23 20:29:15 +0000
committerjtb <jtb@pkgsrc.org>2001-05-23 20:29:15 +0000
commit1c400cc426d419ad38802ab90232d937ee2a4f44 (patch)
tree21c69ac1ad3169feab543f0c65a1bd6f85d08a84 /math
parent0e7b96ad066e89d87d3693b02d1b46da0ab6e9ba (diff)
downloadpkgsrc-1c400cc426d419ad38802ab90232d937ee2a4f44.tar.gz
No longer needed.
Diffstat (limited to 'math')
-rw-r--r--math/gsl/patches/patch-aa100
-rw-r--r--math/gsl/patches/patch-ab13
-rw-r--r--math/gsl/patches/patch-ac44
-rw-r--r--math/gsl/patches/patch-ad12
-rw-r--r--math/gsl/patches/patch-ae12
5 files changed, 0 insertions, 181 deletions
diff --git a/math/gsl/patches/patch-aa b/math/gsl/patches/patch-aa
deleted file mode 100644
index 2c45a7a722a..00000000000
--- a/math/gsl/patches/patch-aa
+++ /dev/null
@@ -1,100 +0,0 @@
-$NetBSD: patch-aa,v 1.1 2001/03/28 21:49:41 jtb Exp $
-
---- /dev/null Wed Mar 28 17:30:50 2001
-+++ ieee-utils/fp-netbsd.c
-@@ -0,0 +1,95 @@
-+#include <ieeefp.h>
-+#include <sys/param.h>
-+#include <gsl/gsl_ieee_utils.h>
-+#include <gsl/gsl_errno.h>
-+
-+int
-+gsl_ieee_set_mode (int precision, int rounding, int exception_mask)
-+{
-+ fp_except mode = 0;
-+ fp_rnd rnd = 0;
-+
-+ switch (precision)
-+ {
-+ case GSL_IEEE_SINGLE_PRECISION:
-+ GSL_ERROR ("NetBSD only supports default precision rounding",
-+ GSL_EUNSUP);
-+ break;
-+ case GSL_IEEE_DOUBLE_PRECISION:
-+ GSL_ERROR ("NetBSD only supports default precision rounding",
-+ GSL_EUNSUP);
-+ break;
-+ case GSL_IEEE_EXTENDED_PRECISION:
-+ GSL_ERROR ("NetBSD only supports default precision rounding",
-+ GSL_EUNSUP);
-+ break;
-+ }
-+
-+ switch (rounding)
-+ {
-+ case GSL_IEEE_ROUND_TO_NEAREST:
-+ rnd = FP_RN;
-+ fpsetround (rnd);
-+ break;
-+ case GSL_IEEE_ROUND_DOWN:
-+ rnd = FP_RM;
-+ fpsetround (rnd);
-+ break;
-+ case GSL_IEEE_ROUND_UP:
-+ rnd = FP_RP;
-+ fpsetround (rnd);
-+ break;
-+ case GSL_IEEE_ROUND_TO_ZERO:
-+ rnd = FP_RZ;
-+ fpsetround (rnd);
-+ break;
-+ default:
-+ rnd = FP_RN;
-+ fpsetround (rnd);
-+ }
-+
-+/* Turn on all available exceptions apart from 'inexact'.
-+ Denormalized operand exception not available on all ports. */
-+
-+#ifdef FP_X_DNML
-+ mode = FP_X_INV | FP_X_DNML | FP_X_DZ | FP_X_OFL | FP_X_UFL;
-+#else
-+ mode = FP_X_INV | FP_X_DZ | FP_X_OFL | FP_X_UFL;
-+#endif
-+
-+ if (exception_mask & GSL_IEEE_MASK_INVALID)
-+ mode &= ~ FP_X_INV;
-+
-+ if (exception_mask & GSL_IEEE_MASK_DENORMALIZED)
-+#ifdef FP_X_DNML
-+ mode &= ~ FP_X_DNML;
-+#else
-+ GSL_ERROR ("netbsd-" MACHINE " does not support the denormalized operand exception. "
-+ "Use 'mask-denormalized' to work around this.",
-+ GSL_EUNSUP);
-+#endif
-+
-+ if (exception_mask & GSL_IEEE_MASK_DIVISION_BY_ZERO)
-+ mode &= ~ FP_X_DZ;
-+
-+ if (exception_mask & GSL_IEEE_MASK_OVERFLOW)
-+ mode &= ~ FP_X_OFL;
-+
-+ if (exception_mask & GSL_IEEE_MASK_UNDERFLOW)
-+ mode &= ~ FP_X_UFL;
-+
-+ if (exception_mask & GSL_IEEE_TRAP_INEXACT)
-+ {
-+ mode |= FP_X_IMP;
-+ }
-+ else
-+ {
-+ mode &= ~ FP_X_IMP;
-+ }
-+
-+ fpsetmask (mode);
-+
-+ return GSL_SUCCESS;
-+
-+}
-+
diff --git a/math/gsl/patches/patch-ab b/math/gsl/patches/patch-ab
deleted file mode 100644
index 48a6bd3fdfc..00000000000
--- a/math/gsl/patches/patch-ab
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ab,v 1.1 2001/03/28 21:49:41 jtb Exp $
-
---- ieee-utils/fp.c.orig
-+++ ieee-utils/fp.c
-@@ -22,6 +22,8 @@
- #include "fp-tru64.c"
- #elif defined(HAVE_FREEBSD_IEEE_INTERFACE)
- #include "fp-freebsd.c"
-+#elif defined(HAVE_NETBSD_IEEE_INTERFACE)
-+#include "fp-netbsd.c"
- #else
- #include "fp-unknown.c"
- #endif
diff --git a/math/gsl/patches/patch-ac b/math/gsl/patches/patch-ac
deleted file mode 100644
index d7861c177f5..00000000000
--- a/math/gsl/patches/patch-ac
+++ /dev/null
@@ -1,44 +0,0 @@
-$NetBSD: patch-ac,v 1.1 2001/03/28 21:49:42 jtb Exp $
-
---- configure.orig Thu Oct 26 20:08:46 2000
-+++ configure
-@@ -2645,13 +2645,20 @@
-
- echo "$ac_t""irix" 1>&6
- ;;
-- *-*-*bsd*)
-+ *-*-freebsd*)
- cat >> confdefs.h <<\EOF
- #define HAVE_FREEBSD_IEEE_INTERFACE 1
- EOF
-
- echo "$ac_t""freebsd" 1>&6
- ;;
-+ *-*-netbsd*)
-+ cat >> confdefs.h <<\EOF
-+#define HAVE_NETBSD_IEEE_INTERFACE 1
-+EOF
-+
-+ echo "$ac_t""netbsd" 1>&6
-+ ;;
- *)
- echo "$ac_t""unknown" 1>&6
- ;;
-@@ -3065,6 +3072,7 @@
- s%@CC@%$CC%g
- s%@CPP@%$CPP%g
- s%@LN_S@%$LN_S%g
-+s%@AS@%$AS%g
- s%@build@%$build%g
- s%@build_alias@%$build_alias%g
- s%@build_cpu@%$build_cpu%g
-@@ -3077,6 +3085,9 @@
- s%@LIBOBJS@%$LIBOBJS%g
- s%@GSL_CFLAGS@%$GSL_CFLAGS%g
- s%@GSL_LIBS@%$GSL_LIBS%g
-+s%@OBJEXT@%$OBJEXT%g
-+s%@EXEEXT@%$EXEEXT%g
-+s%@OBJDUMP@%$OBJDUMP%g
-
- CEOF
- EOF
diff --git a/math/gsl/patches/patch-ad b/math/gsl/patches/patch-ad
deleted file mode 100644
index 6a8eced1bf1..00000000000
--- a/math/gsl/patches/patch-ad
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-ad,v 1.1 2001/03/28 21:49:42 jtb Exp $
-
---- acconfig.h.orig
-+++ acconfig.h
-@@ -34,6 +34,7 @@
- #undef HAVE_IRIX_IEEE_INTERFACE
- #undef HAVE_AIX_IEEE_INTERFACE
- #undef HAVE_FREEBSD_IEEE_INTERFACE
-+#undef HAVE_NETBSD_IEEE_INTERFACE
-
- /* Define this if we need to include /usr/include/float.h explicitly
- in order to get FP_RND_RN and related macros. This is known to be
diff --git a/math/gsl/patches/patch-ae b/math/gsl/patches/patch-ae
deleted file mode 100644
index 1450c3b24fe..00000000000
--- a/math/gsl/patches/patch-ae
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-ae,v 1.1 2001/03/28 21:49:42 jtb Exp $
-
---- config.h.in.orig
-+++ config.h.in
-@@ -86,6 +86,7 @@
- #undef HAVE_IRIX_IEEE_INTERFACE
- #undef HAVE_AIX_IEEE_INTERFACE
- #undef HAVE_FREEBSD_IEEE_INTERFACE
-+#undef HAVE_NETBSD_IEEE_INTERFACE
-
- /* Define this if we need to include /usr/include/float.h explicitly
- in order to get FP_RND_RN and related macros. This is known to be