diff -uNr joe-3.0.orig/Makefile.in joe-3.0.my/Makefile.in --- joe-3.0.orig/Makefile.in Fri Apr 23 19:30:59 2004 +++ joe-3.0.my/Makefile.in Tue Apr 27 12:42:30 2004 @@ -48,7 +48,7 @@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ +CPPFLAGS = -I/usr/local/include @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ @@ -61,9 +61,9 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -LDFLAGS = @LDFLAGS@ +LDFLAGS = -L/usr/local/lib @LDFLAGS@ LIBOBJS = @LIBOBJS@ -LIBS = @LIBS@ +LIBS = -lc -liconv @LIBS@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ diff -uNr joe-3.0.orig/regex.c joe-3.0.my/regex.c --- joe-3.0.orig/regex.c Sat Apr 17 15:09:09 2004 +++ joe-3.0.my/regex.c Tue Apr 27 12:41:56 2004 @@ -443,7 +443,7 @@ d = pgetc(p); if (icase) { if (local_utf8) { - if (towupper(d) != towupper(c)) + if (toupper(d) != toupper(c)) goto fail; } else if (toupper(d) != toupper(c)) goto fail; diff -uNr joe-3.0.orig/utils.c joe-3.0.my/utils.c --- joe-3.0.orig/utils.c Fri Apr 23 00:35:28 2004 +++ joe-3.0.my/utils.c Tue Apr 27 12:41:56 2004 @@ -83,7 +83,7 @@ int isalnum_(int wide,int c) { if (wide) - return (iswalnum(c) || (c == 95)); + return (isalnum(c) || (c == 95)); else return (isalnum(c) || (c == 95)); }