FreeBSD Bugzilla – Attachment 17127 Details for
Bug 31197
shells/ksh93: unbreak
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 2.81 KB, created by
Christian Weisgerber
on 2001-10-10 16:40:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Christian Weisgerber
Created:
2001-10-10 16:40:01 UTC
Size:
2.81 KB
patch
obsolete
>diff -uNr /usr/ports/shells/ksh93/Makefile ksh93/Makefile >--- /usr/ports/shells/ksh93/Makefile Fri Sep 28 14:03:55 2001 >+++ ksh93/Makefile Wed Oct 10 16:00:27 2001 >@@ -12,16 +12,15 @@ > > MAINTAINER= naddy@mips.inka.de > >-BROKEN= "does not build" > RESTRICTED= "Source recipient must acknowledge license" > DISTNAME= ${PORTNAME}-${VERSION} > DISTFILES= INIT.${VERSION}.tgz ast-ksh.${VERSION}.tgz > > NO_WRKSUBDIR= yes > MAKE_ARGS= CC='${CC}' CCFLAGS='${CFLAGS}' SHELL='${SH}' >-.if defined(WANT_STATIC) >-MAKE_ARGS+= LDFLAGS=-static >-.endif >+#.if defined(WANT_STATIC) # broken >+#MAKE_ARGS+= LDFLAGS=-static >+#.endif > > MAN1= ksh93.1 > >diff -uNr /usr/ports/shells/ksh93/files/patch-src_lib_libast_comp_wc.c ksh93/files/patch-src_lib_libast_comp_wc.c >--- /usr/ports/shells/ksh93/files/patch-src_lib_libast_comp_wc.c Thu Jan 1 01:00:00 1970 >+++ ksh93/files/patch-src_lib_libast_comp_wc.c Mon Oct 8 03:22:04 2001 >@@ -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 -uNr /usr/ports/shells/ksh93/files/patch-src_lib_libast_features_float ksh93/files/patch-src_lib_libast_features_float >--- /usr/ports/shells/ksh93/files/patch-src_lib_libast_features_float Thu Jan 1 01:00:00 1970 >+++ ksh93/files/patch-src_lib_libast_features_float Wed Oct 10 14:12:59 2001 >@@ -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 >diff -uNr /usr/ports/shells/ksh93/pkg-message ksh93/pkg-message >--- /usr/ports/shells/ksh93/pkg-message Tue Feb 27 02:59:25 2001 >+++ ksh93/pkg-message Wed Oct 10 15:15:20 2001 >@@ -16,3 +16,11 @@ > > (c) AT&T Corp. All rights reserved. AT&T is a registered trademark > of AT&T Corp. >+ >+------------------------------------------------------------------------ >+ >+Known problem: Defining the LC_NUMERIC environment variable, or >+any locale setting by which it is implied (LANG, LC_ALL), will cause >+ksh93 to crash. LC_COLLATE, LC_CTYPE, LC_MESSAGES, LC_MONETARY, >+and LC_TIME are safe. >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 31197
: 17127