freebsd-ports/net/dictd/files/patch-dictfmt.c
Dima Dorfman c8d4c6e111 Unbreak on 4.x by using the the iswspace__ wrapper (4.x doesn't have a
native iswspace). Patch has been submitted to the maintainers (SF
#1228054).

Submitted by:	Andy Miller <andy@trit.org>
2005-06-28 04:37:12 +00:00

21 lines
461 B
C

--- 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;