mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 09:48:00 -04:00
34 lines
724 B
Plaintext
34 lines
724 B
Plaintext
$NetBSD: patch-aa,v 1.5 2004/08/26 20:22:18 recht Exp $
|
|
|
|
--- dox/file.c.orig 2004-07-01 20:51:46.000000000 +0200
|
|
+++ dox/file.c
|
|
@@ -26,6 +26,11 @@
|
|
# include <wctype.h>
|
|
#endif
|
|
|
|
+#include <sys/param.h>
|
|
+#if defined(__NetBSD_Version__) && (__NetBSD_Version__ < 106210000)
|
|
+typedef unsigned int wctype_t;
|
|
+#endif
|
|
+
|
|
static int
|
|
exists(char *s)
|
|
{
|
|
@@ -175,6 +180,7 @@ word_mb(char *s, int num, char *wd, int
|
|
}
|
|
|
|
/* Check multibyte character class is available or not */
|
|
+/*
|
|
wcflg = 0;
|
|
for (cc = char_class_tbl; cc->name != NULL; cc++)
|
|
{
|
|
@@ -182,7 +188,7 @@ word_mb(char *s, int num, char *wd, int
|
|
if (cc->wt != (wctype_t) 0)
|
|
wcflg = 1;
|
|
}
|
|
-
|
|
+*/
|
|
cnt = 0;
|
|
i = 0;
|
|
start = NULL;
|