summaryrefslogtreecommitdiff
path: root/shells/bash2/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'shells/bash2/patches/patch-aa')
-rw-r--r--shells/bash2/patches/patch-aa21
1 files changed, 21 insertions, 0 deletions
diff --git a/shells/bash2/patches/patch-aa b/shells/bash2/patches/patch-aa
new file mode 100644
index 00000000000..036f07c1a07
--- /dev/null
+++ b/shells/bash2/patches/patch-aa
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.9 2002/11/25 05:39:34 schmonz Exp $
+
+--- config-bot.h.orig Tue Apr 16 17:01:03 2002
++++ config-bot.h
+@@ -104,11 +104,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
+ #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)
+ # define HANDLE_MULTIBYTE 1
++# endif
+ # endif
+ #endif
+