$NetBSD: patch-ac,v 1.4 2007/03/17 13:44:18 tsutsui Exp $

--- libtme/module.c.orig	2005-01-26 21:59:24.000000000 +0900
+++ libtme/module.c	2006-07-29 14:41:36.000000000 +0900
@@ -214,7 +214,7 @@
   char *modules_dir;
   char line_buffer[1024];
   char **tokens;
-  unsigned int tokens_count;
+  int tokens_count;
   char *module_basename;
   char *module_pathname;
   lt_dlhandle handle;
@@ -230,7 +230,7 @@
   for (p1 = module_raw_name;
        (c = *p1) != '\0';
        p1++) {
-    if (!isalnum(c)) {
+    if (!isalnum((unsigned char)c)) {
       *p1 = '_';
       if (c == '/'
 	  && first_slash == NULL) {
