diff options
Diffstat (limited to 'shells/bash2/patches/patch-ac')
-rw-r--r-- | shells/bash2/patches/patch-ac | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/shells/bash2/patches/patch-ac b/shells/bash2/patches/patch-ac index 39314dd7c45..793c6f7f53a 100644 --- a/shells/bash2/patches/patch-ac +++ b/shells/bash2/patches/patch-ac @@ -1,21 +1,13 @@ -$NetBSD: patch-ac,v 1.7 2002/11/25 05:39:35 schmonz Exp $ +$NetBSD: patch-ac,v 1.8 2002/12/17 14:45:13 drochner Exp $ ---- include/shmbutil.h.orig Mon May 6 13:58:39 2002 -+++ include/shmbutil.h -@@ -30,11 +30,16 @@ - /* For platforms which support the ISO C amendement 1 functionality we - support user defined character classes. */ - /* Solaris 2.5 has a bug: <wchar.h> must be included before <wctype.h>. */ -+#if defined (__NetBSD__) -+# define HANDLE_MULTIBYTE 0 -+#endif +--- include/shmbutil.h.orig Mon May 6 19:58:39 2002 ++++ include/shmbutil.h Tue Dec 17 15:27:20 2002 +@@ -33,7 +33,7 @@ #if defined (HAVE_WCTYPE_H) && defined (HAVE_WCHAR_H) # include <wchar.h> # include <wctype.h> - # if defined (HAVE_MBSRTOWCS) /* system is supposed to support XPG5 */ -+# if !defined(HANDLE_MULTIBYTE) +-# if defined (HAVE_MBSRTOWCS) /* system is supposed to support XPG5 */ ++# if defined (HAVE_MBSRTOWCS) /* system is supposed to support XPG5 */ && !defined(__NetBSD__) # define HANDLE_MULTIBYTE 1 -+# endif # endif #endif /* HAVE_WCTYPE_H && HAVE_WCHAR_H */ - |