From f6fc33d0925b620598032910ccb098cf3bda54fc Mon Sep 17 00:00:00 2001 From: naddy Date: Thu, 11 Oct 2001 01:39:15 +0000 Subject: [PATCH] alpha: skip some floating point tests whose results aren't used; fixes build hang --- .../patch-src_lib_libast_features_float | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 shells/ast-ksh/patches/patch-src_lib_libast_features_float diff --git a/shells/ast-ksh/patches/patch-src_lib_libast_features_float b/shells/ast-ksh/patches/patch-src_lib_libast_features_float new file mode 100644 index 00000000000..45f1572722d --- /dev/null +++ b/shells/ast-ksh/patches/patch-src_lib_libast_features_float @@ -0,0 +1,35 @@ +$OpenBSD: patch-src_lib_libast_features_float,v 1.1 2001/10/11 01:39:15 naddy Exp $ +--- src/lib/libast/features/float.orig Wed Jun 13 21:50:59 2001 ++++ src/lib/libast/features/float Wed Oct 10 15:35:57 2001 +@@ -125,6 +125,7 @@ tst - output{ + else + printf("#define UINTMAX_DIG ULONG_DIG\n"); + printf("\n"); ++ #if !defined(__alpha__) /* ksh93 doesn't use this */ + f = 1; + w = 1; + do +@@ -145,6 +146,7 @@ tst - output{ + } + else + printf("#define FLT_UINTMAX_MAX FLT_ULONG_MAX\n"); ++ #endif + #ifdef FLT_DIG + s = FLT_DIG; + #else +@@ -256,6 +258,7 @@ tst - output{ + printf("#endif\n"); + + printf("\n"); ++ #if !defined(__alpha__) /* ksh93 doesn't use this */ + d = 1.0; + w = 1; + do +@@ -276,6 +279,7 @@ tst - output{ + } + else + printf("#define DBL_UINTMAX_MAX DBL_ULONG_MAX\n"); ++ #endif + #ifdef DBL_DIG + s = DBL_DIG; + #else