summaryrefslogtreecommitdiff
path: root/devel/gettext-tools
diff options
context:
space:
mode:
authorjoerg <joerg>2006-02-14 22:31:42 +0000
committerjoerg <joerg>2006-02-14 22:31:42 +0000
commit86afee710a84a16237a05d0b7f7df1d95057004e (patch)
treef873163ae17c8449636b90df8dc4c5a8cae76a83 /devel/gettext-tools
parentc617d1bea9f2406c77818a0d1578398e1971b3f6 (diff)
downloadpkgsrc-86afee710a84a16237a05d0b7f7df1d95057004e.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/distinfo3
-rw-r--r--devel/gettext-tools/patches/patch-ao27
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