File FreeWnn-uum.patch of Package fwnn

--- BUILD/FreeWnn-1.1.1-a021/Wnn/uum/jhlp.c
+++ BUILD/FreeWnn-1.1.1-a021/Wnn/uum/jhlp.c
@@ -1755,7 +1755,7 @@
     }
 #endif /* defined(uniosu) */
 
-#ifndef sgi
+#if !defined(sgi) && !defined(linux)
   ptyname (nmbuf, ptynm, ptyno);
   if (chown (nmbuf, 0, 0) == ERROR)
     {
--- BUILD/FreeWnn-1.1.1-a021/makerule.mk.in
+++ BUILD/FreeWnn-1.1.1-a021/makerule.mk.in
@@ -94,7 +94,7 @@
 CFLAGS = @CFLAGS@ @CDEBUGFLAGS@ $(CCOPTIONS) @ipv6@ @DEFS@ $(ALLDEFINES)
 LIBS = @LIBS@
 LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES) $(DEPEND_DEFINES)
-LDOPTIONS = @CDEBUGFLAGS@ $(CCOPTIONS)
+LDOPTIONS = @CDEBUGFLAGS@ $(CCOPTIONS) -L@libdir@/termcap
 
 
 #
@@ -112,7 +112,7 @@
       WNNBINDIR = ${PREFIX}/bin
       WNNINCDIR = @includedir@
       WNNLIBDIR = @libdir@
-    WNNTERM_LIB = -ltermcap
+    WNNTERM_LIB = -ltermcap -lcrypt
 
   PUBDICPLUSSRC = $(IMTOP)/PubdicPlus
   WNNCONSDICSRC = $(IMTOP)/Wnn-consortium/dic