summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2004-12-04 12:01:09 +0000
committerwiz <wiz@pkgsrc.org>2004-12-04 12:01:09 +0000
commit1bd1247a494357baddef8a3b9d0b7648b7b4fefb (patch)
tree99352388faf8b20abd2cd26a1054d2e36cfcd84f /editors
parent54cea8dbf43a01e7901f3bc7ec2bf6d007ca7924 (diff)
downloadpkgsrc-1bd1247a494357baddef8a3b9d0b7648b7b4fefb.tar.gz
Add casts to unsigned char to make this build on -current.
Diffstat (limited to 'editors')
-rw-r--r--editors/gtranslator/distinfo4
-rw-r--r--editors/gtranslator/patches/patch-ab13
-rw-r--r--editors/gtranslator/patches/patch-ac13
3 files changed, 29 insertions, 1 deletions
diff --git a/editors/gtranslator/distinfo b/editors/gtranslator/distinfo
index c8fb8067e2c..9ed2681efaf 100644
--- a/editors/gtranslator/distinfo
+++ b/editors/gtranslator/distinfo
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.1.1.1 2004/10/21 04:20:55 xtraeme Exp $
+$NetBSD: distinfo,v 1.2 2004/12/04 12:01:09 wiz Exp $
SHA1 (gtranslator-1.0.tar.gz) = 2d4ced2c03a736e20820e15b9809319766b3b0b4
Size (gtranslator-1.0.tar.gz) = 1262605 bytes
SHA1 (patch-aa) = da6722b93c4407ee020390773460478ddb0f92fd
+SHA1 (patch-ab) = 93e6c28aacf1d0400238c3273579ba54f5a4f62f
+SHA1 (patch-ac) = 5683310f863afd029642178258b9992e2008ea69
diff --git a/editors/gtranslator/patches/patch-ab b/editors/gtranslator/patches/patch-ab
new file mode 100644
index 00000000000..324889f060d
--- /dev/null
+++ b/editors/gtranslator/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2004/12/04 12:01:09 wiz Exp $
+
+--- src/nautilus-string.c.orig 2003-07-06 23:44:18.000000000 +0200
++++ src/nautilus-string.c
+@@ -375,7 +375,7 @@ nautilus_str_to_int (const char *string,
+
+ /* Check that all the trailing characters are spaces. */
+ while (*parse_end != '\0') {
+- if (!isspace (*parse_end++)) {
++ if (!isspace (*(unsigned char *)parse_end++)) {
+ return FALSE;
+ }
+ }
diff --git a/editors/gtranslator/patches/patch-ac b/editors/gtranslator/patches/patch-ac
new file mode 100644
index 00000000000..1e583d6a89c
--- /dev/null
+++ b/editors/gtranslator/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1 2004/12/04 12:01:09 wiz Exp $
+
+--- src/utils.c.orig 2003-08-25 14:58:22.000000000 +0200
++++ src/utils.c
+@@ -635,7 +635,7 @@ gfloat gtranslator_utils_calculate_simil
+ {
+ similarity+=one_char_percentage;
+ }
+- else if((tolower(a[i]))==(tolower(b[i])))
++ else if((tolower((unsigned char)a[i]))==(tolower((unsigned char)b[i])))
+ {
+ similarity+=(one_char_percentage / 2);
+ }