3ff80c84d8
Copy from M17N/fwnn based on submit request 34857 from user coolo OBS-URL: https://build.opensuse.org/request/show/34857 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fwnn?expand=0&rev=8
32 lines
910 B
Diff
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
|