$NetBSD: patch-as,v 1.5 2010/11/15 13:05:45 adam Exp $

--- tools/assistant/lib/fulltextsearch/qclucene-config_p.h.orig	2010-09-10 09:04:47.000000000 +0000
+++ tools/assistant/lib/fulltextsearch/qclucene-config_p.h
@@ -94,7 +94,7 @@ configure.
 #define _CL_HAVE_FCNTL_H  1
 #endif
 
-#if !defined(__xlC__) && !defined(__xlc__) && !defined (__MINGW32__) && \
+#if !defined(__xlC__) && !defined(__xlc__) && !defined (__MINGW32__) && !defined(__NetBSD) && \
     !defined(__HP_aCC) && !defined(__SUNPRO_C) && !defined(__SUNPRO_CC) || \
     defined(__SUNPRO_CC) && (__SUNPRO_CC > 0x550) || (defined(__HP_aCC) && defined(__ia64))
     /* Define to 1 if the system has the type `float_t'. */
@@ -430,7 +430,7 @@ configure.
 #   endif
 #endif
 
-#if defined(__SUNPRO_CC) || defined(__SUNPRO_C) || defined(__HP_aCC)
+#if defined(__SUNPRO_CC) || defined(__SUNPRO_C) || defined(__HP_aCC) || defined(__NetBSD__)
     /* Define to 1 if you have a functioning <wchar.h> header file. */
 #   ifndef _CL_HAVE_WCTYPE_H
 #   define _CL_HAVE_WCTYPE_H
