summaryrefslogtreecommitdiff
path: root/inputmethod/sj3-lib/patches/patch-ae
diff options
context:
space:
mode:
Diffstat (limited to 'inputmethod/sj3-lib/patches/patch-ae')
-rw-r--r--inputmethod/sj3-lib/patches/patch-ae28
1 files changed, 28 insertions, 0 deletions
diff --git a/inputmethod/sj3-lib/patches/patch-ae b/inputmethod/sj3-lib/patches/patch-ae
new file mode 100644
index 00000000000..65ef5a725bb
--- /dev/null
+++ b/inputmethod/sj3-lib/patches/patch-ae
@@ -0,0 +1,28 @@
+$NetBSD: patch-ae,v 1.1.1.1 2002/05/31 13:00:27 seb Exp $
+
+--- include/Paths.h.in.orig Thu Jan 23 20:20:57 1997
++++ include/Paths.h.in Tue Aug 18 11:29:00 1998
+@@ -33,7 +33,22 @@
+ * $SonyDate: 1997/01/23 11:20:55 $
+ */
+
+-#define ErrorOutFile "/dev/console"
++/*
++ * Change ErrotOutFile variable.
++ * Because suppress a error when sj3serv start up, change to "/dev/stderr".
++ * This error is "Cannot Open "/dev/console".".
++ * Patched by Hidekazu Kuroki(hidekazu@cs.titech.ac.jp) 1996/8/10
++ *
++ * Change ErrotOutFile variable.
++ * This default value is "/dev/null" in document.
++ * Patched by Hidekazu Kuroki(hidekazu@cs.titech.ac.jp) 1996/8/11
++ */
++#if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__)
++#define ErrorOutFile "/dev/console"
++#else
++/* #define ErrorOutFile "/dev/stderr" */ /* for test */
++#define ErrorOutFile "/dev/null"
++#endif
+
+ #define SocketName "/tmp/sj3sock"
+ #define LockFile "/tmp/SJ3SERV.EXIST"