pkgsrc/devel/gettext-lib/patches/patch-aa
adam 8583c6027e Changes 0.18.2:
* xgettext now understands the block comment syntax of Guile 2.0.
* libgettextpo library:
  - The initial msgstr of a new message is now "", not NULL.
  - Bug fixes in the functions po_message_is_range, po_file_check_all,
    po_message_check_all.
* Installation options:
  The configure options --with-xz and --with-bzip2 can be used to specify
  alternate compression methods for the archive used by the 'autopoint'
  program. These options, together with --with-git, allow to trade
  dependencies against installed package size. --with-xz has the highest
  compression rate, followed by --with-git, followed by --with-bzip2.
* Autoconf macros:
  - The autoconf macros installed by 'gettextize' now work with the
    forthcoming Automake 1.14 and require Autoconf version 2.60 or
    newer.
* Portability:
  - Building on MacOS X 10.7, Cygwin 1.7.10, and newer 64-bit mingw is
    now supported.
2013-01-31 21:45:03 +00:00

20 lines
453 B
Text

$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 <config.h>
+#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