diff options
author | schmonz <schmonz@pkgsrc.org> | 2002-11-25 05:39:33 +0000 |
---|---|---|
committer | schmonz <schmonz@pkgsrc.org> | 2002-11-25 05:39:33 +0000 |
commit | 01fd684ef5f5ed9b95b5089c634ac8aa1d00519a (patch) | |
tree | 1db7647da18c6dda8639886147e19bbebaea26e5 /shells/bash2/patches/patch-ac | |
parent | 4bb4746e6acd689a99c226813209dcb61a24b5f5 (diff) | |
download | pkgsrc-01fd684ef5f5ed9b95b5089c634ac8aa1d00519a.tar.gz |
Disable multibyte support on NetBSD to fix compile error.
Diffstat (limited to 'shells/bash2/patches/patch-ac')
-rw-r--r-- | shells/bash2/patches/patch-ac | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/shells/bash2/patches/patch-ac b/shells/bash2/patches/patch-ac new file mode 100644 index 00000000000..39314dd7c45 --- /dev/null +++ b/shells/bash2/patches/patch-ac @@ -0,0 +1,21 @@ +$NetBSD: patch-ac,v 1.7 2002/11/25 05:39:35 schmonz 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 + #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 /* HAVE_WCTYPE_H && HAVE_WCHAR_H */ + |