diff options
author | minskim <minskim@pkgsrc.org> | 2004-06-22 14:05:39 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2004-06-22 14:05:39 +0000 |
commit | 980de3e510a8f8b727f5d624d4cad382bceffd91 (patch) | |
tree | 269efde7ac68f8084fca6dc7cac0dc266d98e693 /shells/bash2/patches/patch-aa | |
parent | fd7abbbd7a6383af750927a0257fa588d48ee624 (diff) | |
download | pkgsrc-980de3e510a8f8b727f5d624d4cad382bceffd91.tar.gz |
Disable multibyte support only when wctype_t is not available. The
previous patches disabled it on NetBSD unconditionally. Bump PKGREVISION.
Pointed out by Kibum Han. Thanks to junyoung@ for testing.
OK'ed by schmonz@ and wiz@.
Diffstat (limited to 'shells/bash2/patches/patch-aa')
-rw-r--r-- | shells/bash2/patches/patch-aa | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shells/bash2/patches/patch-aa b/shells/bash2/patches/patch-aa index dff38aaab92..22ba73eb5f0 100644 --- a/shells/bash2/patches/patch-aa +++ b/shells/bash2/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.10 2002/12/17 14:45:13 drochner Exp $ +$NetBSD: patch-aa,v 1.11 2004/06/22 14:05:39 minskim Exp $ --- config-bot.h.orig Tue Apr 16 23:01:03 2002 +++ config-bot.h Tue Dec 17 15:34:52 2002 @@ -7,7 +7,7 @@ $NetBSD: patch-aa,v 1.10 2002/12/17 14:45:13 drochner Exp $ # include <wchar.h> # include <wctype.h> -# if defined (HAVE_MBSRTOWCS) /* system is supposed to support XPG5 */ -+# if defined (HAVE_MBSRTOWCS) /* system is supposed to support XPG5 */ && !defined(__NetBSD__) ++# if defined (HAVE_MBSRTOWCS) /* system is supposed to support XPG5 */ && defined (HAVE_WCTYPE_T) # define HANDLE_MULTIBYTE 1 # endif #endif |