SHA256
1
0
forked from pool/fwnn
fwnn/FreeWnn-uum.patch
2010-03-26 00:19:40 +00:00

32 lines
910 B
Diff

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