Files
pkgsrc-ng/devel/gettext/patches/patch-ao
2013-09-26 17:14:40 +02:00

28 lines
780 B
Plaintext

$NetBSD: patch-ao,v 1.5 2013/01/31 21:45:04 adam Exp $
--- gettext-tools/config.h.in.orig 2012-12-25 05:33:29.000000000 +0000
+++ gettext-tools/config.h.in
@@ -1,5 +1,9 @@
/* config.h.in. Generated from configure.ac by autoheader. */
+#ifdef __NetBSD__
+#include <sys/param.h>
+#endif
+
/* Default value for alignment of strings in .mo file. */
#define DEFAULT_OUTPUT_ALIGNMENT 1
@@ -2009,8 +2013,12 @@
/* Define to 1 if you have the 'wctob' function. */
#undef HAVE_WCTOB
+#if !defined(__NetBSD__) || __NetBSD_Version__ >= 200000000
+/* NetBSD before 2.0 doesn't provide wctype_t in wctype.h */
+
/* Define to 1 if you have the <wctype.h> header file. */
#undef HAVE_WCTYPE_H
+#endif
/* Define to 1 if you have the 'wcwidth' function. */
#undef HAVE_WCWIDTH