diff options
Diffstat (limited to 'devel/gettext-tools/patches/patch-ao')
-rw-r--r-- | devel/gettext-tools/patches/patch-ao | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/devel/gettext-tools/patches/patch-ao b/devel/gettext-tools/patches/patch-ao new file mode 100644 index 00000000000..ed53fbb1d49 --- /dev/null +++ b/devel/gettext-tools/patches/patch-ao @@ -0,0 +1,27 @@ +$NetBSD: patch-ao,v 1.1 2006/02/14 22:31:42 joerg Exp $ + +--- gettext-tools/config.h.in.orig 2006-02-14 15:40:12.000000000 +0100 ++++ 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 +@@ -500,8 +504,12 @@ + /* Define to 1 if you have the `wcslen' function. */ + #undef HAVE_WCSLEN + ++#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 |