summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorschmonz <schmonz>2002-07-21 19:26:30 +0000
committerschmonz <schmonz>2002-07-21 19:26:30 +0000
commit30a9b6c6ae9cb9fac32e85e162bee8de6eacb5fa (patch)
tree9e7b9e580e93e1baad16268cc6818c8af1f55c85 /devel
parenta29921d6fff6b808c6f08454c1fb5bafd56fe112 (diff)
downloadpkgsrc-30a9b6c6ae9cb9fac32e85e162bee8de6eacb5fa.tar.gz
Darwin doesn't provide _tolower(), an XSI extension that works like
tolower() but requires uppercase input. It's always safe to use tolower() instead, at the possible expense of a little execution time. Thanks to simonb for the explanation. From Jeffrey Putsch <jdputsch@attbi.com> on tech-pkg@.
Diffstat (limited to 'devel')
-rw-r--r--devel/gettext/distinfo4
-rw-r--r--devel/gettext/patches/patch-ag20
2 files changed, 8 insertions, 16 deletions
diff --git a/devel/gettext/distinfo b/devel/gettext/distinfo
index 1c9b0496caf..ed5b661ca34 100644
--- a/devel/gettext/distinfo
+++ b/devel/gettext/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2001/06/16 03:34:39 jlam Exp $
+$NetBSD: distinfo,v 1.4 2002/07/21 19:26:30 schmonz Exp $
SHA1 (gettext-0.10.35.tar.gz) = fcf5aedd794b45f9a63cb30deba96e842cc2d77c
Size (gettext-0.10.35.tar.gz) = 713694 bytes
@@ -8,7 +8,7 @@ SHA1 (patch-ac) = a31996698a632614bbf5269bcd22b4d3e7077e0c
SHA1 (patch-ad) = c30246c62ad2a3809f092d4e83747a781437fc8c
SHA1 (patch-ae) = a5b82ab8b98c34a8889d60fd9cb224bc1ccdd4d0
SHA1 (patch-af) = 1e93d62e848f3dd6d902c0c91b32bb593f3afc43
-SHA1 (patch-ag) = d91a594dc455bd7b0f3ece4e5b237227d08e4418
+SHA1 (patch-ag) = 72e94b26e72ff9d3a7af01304e1854fe48b1b5de
SHA1 (patch-ah) = 2822c9d3a6e9f2a9ae0d4b5ed5c25525e3d4f34d
SHA1 (patch-ai) = dd77fb17fae639152ae1deca233f3a56629ecaea
SHA1 (patch-aj) = d0f2f662d895c015f85df0eedd4cc7d2e4170122
diff --git a/devel/gettext/patches/patch-ag b/devel/gettext/patches/patch-ag
index 4e6af5b3b05..7d858048d19 100644
--- a/devel/gettext/patches/patch-ag
+++ b/devel/gettext/patches/patch-ag
@@ -1,10 +1,10 @@
-$NetBSD: patch-ag,v 1.1 2000/06/30 17:07:36 danw Exp $
-
+$NetBSD: patch-ag,v 1.2 2002/07/21 19:26:30 schmonz Exp $
+
Fix inspired by glibc, which gets it wrong.
---- intl/l10nflist.c.orig Fri Jun 23 03:25:01 2000
-+++ intl/l10nflist.c Fri Jun 23 03:26:32 2000
-@@ -349,8 +349,9 @@
+--- intl/l10nflist.c.orig Wed Apr 29 12:38:06 1998
++++ intl/l10nflist.c
+@@ -349,8 +349,9 @@ _nl_make_l10nflist (l10nfile_list, dirli
/* Normalize codeset name. There is no standard for the codeset
names. Normalization allows the user to use any of the common
@@ -16,15 +16,7 @@ Fix inspired by glibc, which gets it wrong.
_nl_normalize_codeset (codeset, name_len)
const unsigned char *codeset;
size_t name_len;
-@@ -381,14 +382,14 @@
-
- for (cnt = 0; cnt < name_len; ++cnt)
- if (isalpha (codeset[cnt]))
-- *wp++ = tolower (codeset[cnt]);
-+ *wp++ = _tolower (codeset[cnt]);
- else if (isdigit (codeset[cnt]))
- *wp++ = codeset[cnt];
-
+@@ -388,7 +389,7 @@ _nl_normalize_codeset (codeset, name_len
*wp = '\0';
}