aboutsummaryrefslogtreecommitdiff
path: root/shells/ksh93/files
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-10-11 08:55:13 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-10-11 08:55:13 +0000
commit217cd99bfef1825e3cab422c699f9b3300c3e7c6 (patch)
tree9f20c10e64cbe6a110f4c2ef68da877fcdb8e558 /shells/ksh93/files
parenta1086ae0fceb6bed6fbbdf51af5e300ca0706f2d (diff)
downloadports-217cd99bfef1825e3cab422c699f9b3300c3e7c6.tar.gz
ports-217cd99bfef1825e3cab422c699f9b3300c3e7c6.zip
Notes
Diffstat (limited to 'shells/ksh93/files')
-rw-r--r--shells/ksh93/files/patch-src_lib_libast_comp_wc.c13
-rw-r--r--shells/ksh93/files/patch-src_lib_libast_features_float37
2 files changed, 50 insertions, 0 deletions
diff --git a/shells/ksh93/files/patch-src_lib_libast_comp_wc.c b/shells/ksh93/files/patch-src_lib_libast_comp_wc.c
new file mode 100644
index 000000000000..60329af80194
--- /dev/null
+++ b/shells/ksh93/files/patch-src_lib_libast_comp_wc.c
@@ -0,0 +1,13 @@
+
+$FreeBSD$
+
+--- src/lib/libast/comp/wc.c.orig Mon Oct 8 03:21:02 2001
++++ src/lib/libast/comp/wc.c Mon Oct 8 03:21:20 2001
+@@ -63,7 +63,6 @@
+ wcrtomb(char* s, wchar_t c, mbstate_t* q)
+ {
+ #if _lib_wctomb
+- *q = 0;
+ memset(q, 0, sizeof(*q));
+ return wctomb(s, c);
+ #else
diff --git a/shells/ksh93/files/patch-src_lib_libast_features_float b/shells/ksh93/files/patch-src_lib_libast_features_float
new file mode 100644
index 000000000000..dd83db9b7912
--- /dev/null
+++ b/shells/ksh93/files/patch-src_lib_libast_features_float
@@ -0,0 +1,37 @@
+
+$FreeBSD$
+
+--- src/lib/libast/features/float.orig Wed Oct 10 14:10:50 2001
++++ src/lib/libast/features/float Wed Oct 10 14:12:26 2001
+@@ -125,6 +125,7 @@
+ 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 @@
+ }
+ else
+ printf("#define FLT_UINTMAX_MAX FLT_ULONG_MAX\n");
++ #endif
+ #ifdef FLT_DIG
+ s = FLT_DIG;
+ #else
+@@ -256,6 +258,7 @@
+ printf("#endif\n");
+
+ printf("\n");
++ #if !defined(__alpha__) /* ksh93 doesn't use this */
+ d = 1.0;
+ w = 1;
+ do
+@@ -276,6 +279,7 @@
+ }
+ else
+ printf("#define DBL_UINTMAX_MAX DBL_ULONG_MAX\n");
++ #endif
+ #ifdef DBL_DIG
+ s = DBL_DIG;
+ #else