aboutsummaryrefslogtreecommitdiff
path: root/net/dictd
diff options
context:
space:
mode:
authorDima Dorfman <dd@FreeBSD.org>2005-06-28 04:37:12 +0000
committerDima Dorfman <dd@FreeBSD.org>2005-06-28 04:37:12 +0000
commitc8d4c6e11126c1ac7b953dfd3fa17626042c9790 (patch)
treeedad3df0ae98d9b1ecb4888a9e43099c24cfe89c /net/dictd
parent18879391331317cbfccf6b657fc45b47853bdec7 (diff)
downloadports-c8d4c6e11126c1ac7b953dfd3fa17626042c9790.tar.gz
ports-c8d4c6e11126c1ac7b953dfd3fa17626042c9790.zip
Notes
Diffstat (limited to 'net/dictd')
-rw-r--r--net/dictd/files/patch-dictfmt.c20
-rw-r--r--net/dictd/files/patch-str.c11
2 files changed, 31 insertions, 0 deletions
diff --git a/net/dictd/files/patch-dictfmt.c b/net/dictd/files/patch-dictfmt.c
new file mode 100644
index 000000000000..751420a45ff5
--- /dev/null
+++ b/net/dictd/files/patch-dictfmt.c
@@ -0,0 +1,20 @@
+--- dictfmt.c.orig Sun Jun 26 23:20:02 2005
++++ dictfmt.c Sun Jun 26 23:20:37 2005
+@@ -356,7 +356,7 @@
+ len = mbtowc__ (&mbc, s, MB_CUR_MAX__);
+ assert (len >= 0);
+
+- if (len == 0 || !iswspace (mbc))
++ if (len == 0 || !iswspace__ (mbc))
+ break;
+
+ s += len;
+@@ -393,7 +393,7 @@
+ len = mbtowc__ (&mbc, s, MB_CUR_MAX__);
+ assert (len >= 0);
+
+- if (len == 0 || !iswspace (mbc))
++ if (len == 0 || !iswspace__ (mbc))
+ break;
+
+ s += len;
diff --git a/net/dictd/files/patch-str.c b/net/dictd/files/patch-str.c
new file mode 100644
index 000000000000..d969e63b228e
--- /dev/null
+++ b/net/dictd/files/patch-str.c
@@ -0,0 +1,11 @@
+--- str.c.orig Sun Jun 26 23:19:54 2005
++++ str.c Sun Jun 26 23:20:19 2005
+@@ -74,7 +74,7 @@
+ if ((int) len < 0)
+ return errno;
+
+- if (iswspace (ucs4_char)){
++ if (iswspace__ (ucs4_char)){
+ *dest++ = ' ';
+ }else if (allchars_mode || iswalnum__ (ucs4_char)){
+ len2 = wcrtomb__ (dest, towlower__ (ucs4_char), &ps2);