diff options
author | joerg <joerg@pkgsrc.org> | 2006-02-14 22:31:42 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-02-14 22:31:42 +0000 |
commit | e8d4231fa29209bb71aab0bd7d99f68341e32c7d (patch) | |
tree | f873163ae17c8449636b90df8dc4c5a8cae76a83 /devel/gettext-tools | |
parent | 9e8210a6fac97fbca767565c4af195f70892c176 (diff) | |
download | pkgsrc-e8d4231fa29209bb71aab0bd7d99f68341e32c7d.tar.gz |
Disable HAVE_WCTYPE_H on NetBSD before 2.0, since it doesn't have
the needed wctype_t and therefore the multibyte support can't work.
Tested by cato@
Diffstat (limited to 'devel/gettext-tools')
-rw-r--r-- | devel/gettext-tools/distinfo | 3 | ||||
-rw-r--r-- | devel/gettext-tools/patches/patch-ao | 27 |
2 files changed, 29 insertions, 1 deletions
diff --git a/devel/gettext-tools/distinfo b/devel/gettext-tools/distinfo index b05e10ef410..8a93def79c2 100644 --- a/devel/gettext-tools/distinfo +++ b/devel/gettext-tools/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.1.1.1 2006/02/05 22:38:15 joerg Exp $ +$NetBSD: distinfo,v 1.2 2006/02/14 22:31:42 joerg Exp $ SHA1 (gettext-0.14.5.tar.gz) = 68737eee1a6427044eef901dc88e4144d371fb6b RMD160 (gettext-0.14.5.tar.gz) = d31c8e49671f00623ce1e6f73716a5abcd1c7ec2 @@ -14,3 +14,4 @@ SHA1 (patch-ak) = 3f2aa72291aae5e024a3bb833b46973221be3b95 SHA1 (patch-al) = 0a41f77406acf3959a64819a333b369ab2141610 SHA1 (patch-am) = c130b93748604e3823ba17d29af9d91aaeecfcde SHA1 (patch-an) = f99f345f9b23f72e4a462445bcce8281dd1e5308 +SHA1 (patch-ao) = 9e81b05b6e1ee76197c360a441264588607a475c 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 |