summaryrefslogtreecommitdiff
path: root/devel/gettext
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-02-14 22:31:42 +0000
committerjoerg <joerg@pkgsrc.org>2006-02-14 22:31:42 +0000
commit9345170372d06b1743dd59c9a52f921065f30577 (patch)
treef873163ae17c8449636b90df8dc4c5a8cae76a83 /devel/gettext
parentb965708862d891183cc5a2151d10a6706e9f9f5b (diff)
downloadpkgsrc-9345170372d06b1743dd59c9a52f921065f30577.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')
-rw-r--r--devel/gettext/distinfo3
-rw-r--r--devel/gettext/patches/patch-ao27
2 files changed, 29 insertions, 1 deletions
diff --git a/devel/gettext/distinfo b/devel/gettext/distinfo
index cf01649f052..b25e1363a74 100644
--- a/devel/gettext/distinfo
+++ b/devel/gettext/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.14 2006/02/11 17:44:39 joerg Exp $
+$NetBSD: distinfo,v 1.15 2006/02/14 22:31:42 joerg Exp $
SHA1 (gettext-0.14.5.tar.gz) = 68737eee1a6427044eef901dc88e4144d371fb6b
RMD160 (gettext-0.14.5.tar.gz) = d31c8e49671f00623ce1e6f73716a5abcd1c7ec2
@@ -13,3 +13,4 @@ SHA1 (patch-aj) = 5a28ee9299b5c0e7ba10621bf73b638cafdcfa7e
SHA1 (patch-ak) = 3f2aa72291aae5e024a3bb833b46973221be3b95
SHA1 (patch-al) = 2ed0cbf8e2e9a03ac3f8aaff447a07f578010472
SHA1 (patch-an) = f99f345f9b23f72e4a462445bcce8281dd1e5308
+SHA1 (patch-ao) = 9e81b05b6e1ee76197c360a441264588607a475c
diff --git a/devel/gettext/patches/patch-ao b/devel/gettext/patches/patch-ao
new file mode 100644
index 00000000000..1810d00e19f
--- /dev/null
+++ b/devel/gettext/patches/patch-ao
@@ -0,0 +1,27 @@
+$NetBSD: patch-ao,v 1.3 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