pkgsrc/devel/gettext-lib/patches/patch-ac
joerg c53741bc22 Update gettext to 0.14.5. Many bugfixes and improvements,
including support for relocable programs, Qt support,
separation of the PO processing functions into a separate
library and more.

Reorganise the gettext infrastructure by splitting of the
tools into devel/gettext-tools, which will be used by the tools
framework. The remaining devel/gettext package contains
gettextize and autopoint aka the infrastructure to embbed gettext
into a package.

Due to the ABI and API changes, a recursive revision bump will
follow.

Take blaim by receiving the maintainer hat.

With input from jlam@, reed@ and wiz@.
2006-02-05 22:45:53 +00:00

15 lines
475 B
Text

$NetBSD: patch-ac,v 1.2 2006/02/05 22:45:54 joerg Exp $
--- intl/dcigettext.c.orig 2005-05-20 20:06:17.000000000 +0000
+++ intl/dcigettext.c
@@ -243,7 +243,9 @@ struct known_translation_t
/* Root of the search tree with known translations. We can use this
only if the system provides the `tsearch' function family. */
#if defined HAVE_TSEARCH || defined _LIBC
-# include <search.h>
+# if defined HAVE_SEARCH_H
+# include <search.h>
+# endif
static void *root;