summaryrefslogtreecommitdiff
path: root/shells/bash2/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'shells/bash2/patches/patch-ad')
-rw-r--r--shells/bash2/patches/patch-ad20
1 files changed, 6 insertions, 14 deletions
diff --git a/shells/bash2/patches/patch-ad b/shells/bash2/patches/patch-ad
index 945b67cf3c8..4283edb99a7 100644
--- a/shells/bash2/patches/patch-ad
+++ b/shells/bash2/patches/patch-ad
@@ -1,21 +1,13 @@
-$NetBSD: patch-ad,v 1.3 2002/11/25 05:39:36 schmonz Exp $
+$NetBSD: patch-ad,v 1.4 2002/12/17 14:45:13 drochner Exp $
---- lib/readline/rlmbutil.h.orig Thu Dec 20 09:54:38 2001
-+++ lib/readline/rlmbutil.h
-@@ -32,11 +32,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
+--- lib/readline/rlmbutil.h.orig Thu Dec 20 15:54:38 2001
++++ lib/readline/rlmbutil.h Tue Dec 17 15:35:45 2002
+@@ -35,7 +35,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
-