pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel Disable HAVE_WCTYPE_H on NetBSD before 2.0, sinc...
details: https://anonhg.NetBSD.org/pkgsrc/rev/d5389dbed616
branches: trunk
changeset: 508102:d5389dbed616
user: joerg <joerg%pkgsrc.org@localhost>
date: Tue Feb 14 22:31:42 2006 +0000
description:
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:
devel/gettext-tools/distinfo | 3 ++-
devel/gettext-tools/patches/patch-ao | 27 +++++++++++++++++++++++++++
devel/gettext/distinfo | 3 ++-
devel/gettext/patches/patch-ao | 27 +++++++++++++++++++++++++++
4 files changed, 58 insertions(+), 2 deletions(-)
diffs (90 lines):
diff -r 106c03434f0a -r d5389dbed616 devel/gettext-tools/distinfo
--- a/devel/gettext-tools/distinfo Tue Feb 14 22:07:20 2006 +0000
+++ b/devel/gettext-tools/distinfo Tue Feb 14 22:31:42 2006 +0000
@@ -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-al) = 0a41f77406acf3959a64819a333b369ab2141610
SHA1 (patch-am) = c130b93748604e3823ba17d29af9d91aaeecfcde
SHA1 (patch-an) = f99f345f9b23f72e4a462445bcce8281dd1e5308
+SHA1 (patch-ao) = 9e81b05b6e1ee76197c360a441264588607a475c
diff -r 106c03434f0a -r d5389dbed616 devel/gettext-tools/patches/patch-ao
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/gettext-tools/patches/patch-ao Tue Feb 14 22:31:42 2006 +0000
@@ -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 -r 106c03434f0a -r d5389dbed616 devel/gettext/distinfo
--- a/devel/gettext/distinfo Tue Feb 14 22:07:20 2006 +0000
+++ b/devel/gettext/distinfo Tue Feb 14 22:31:42 2006 +0000
@@ -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-ak) = 3f2aa72291aae5e024a3bb833b46973221be3b95
SHA1 (patch-al) = 2ed0cbf8e2e9a03ac3f8aaff447a07f578010472
SHA1 (patch-an) = f99f345f9b23f72e4a462445bcce8281dd1e5308
+SHA1 (patch-ao) = 9e81b05b6e1ee76197c360a441264588607a475c
diff -r 106c03434f0a -r d5389dbed616 devel/gettext/patches/patch-ao
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/gettext/patches/patch-ao Tue Feb 14 22:31:42 2006 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index