$NetBSD: patch-aa,v 1.8 2013/01/31 21:45:04 adam Exp $ --- gettext-runtime/intl/localcharset.c.orig 2012-12-24 00:33:38.000000000 +0000 +++ gettext-runtime/intl/localcharset.c @@ -19,6 +19,10 @@ #include +#if !defined(HAVE_GNU_ICONV) + +/* Provide our variant only if we don't use the GNU iconv library. */ + /* Specification. */ #include "localcharset.h" @@ -556,3 +560,4 @@ locale_charset (void) return codeset; } +#endif