summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg>2006-02-14 22:31:42 +0000
committerjoerg <joerg>2006-02-14 22:31:42 +0000
commit50ec5513483d4be329307b9342ac37bd883ada95 (patch)
treef873163ae17c8449636b90df8dc4c5a8cae76a83
parentb6d9f90a49bb29f827b3e4dde0883f6700440b49 (diff)
downloadpkgsrc-50ec5513483d4be329307b9342ac37bd883ada95.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@
-rw-r--r--devel/gettext-tools/distinfo3
-rw-r--r--devel/gettext-tools/patches/patch-ao27
-rw-r--r--devel/gettext/distinfo3
-rw-r--r--devel/gettext/patches/patch-ao27
4 files changed, 58 insertions, 2 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
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