$NetBSD: patch-ac,v 1.2 2005/08/12 20:58:45 jmmv Exp $

--- libs/regex/src/wide_posix_api.cpp.orig	2005-03-30 13:38:51.000000000 +0200
+++ libs/regex/src/wide_posix_api.cpp
@@ -29,7 +29,7 @@
 #include <cstring>
 #include <cstdio>
 
-#if defined(BOOST_NO_STDC_NAMESPACE)
+#if defined(BOOST_NO_STDC_NAMESPACE) || defined(__NetBSD__)
 namespace std{
 #  ifndef BOOST_NO_SWPRINTF
       using ::swprintf;
