summaryrefslogtreecommitdiff
path: root/textproc/iiimf-server/files/patch-iiimsf_src_watchdog.c
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-12-28 11:18:18 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-12-28 11:18:18 +0000
commit6a5159fe047b80ae3f3813e7ee39553bc8d713fc (patch)
treee0a59c123ef53d7dfe7971f7bb27266254490511 /textproc/iiimf-server/files/patch-iiimsf_src_watchdog.c
parentmove patch-panel-plugin::Makefile.in from / to files/ (diff)
New port: iiimf-*
IIIMF stands for Internet/Intranet Input Method Framework. IIIMF is designed to be the next generation of input method framework which provides the following capabilities; * Multiplatform, platform independent. * Multlingual and Full UNICODE support, but satisfactory for native speakers. * Windowing System Independent. * Multiple language engines concurrently run. * Multiuser. * Distributed, lightweight clients and scalable server. * Extensible in multiple means. * Input method protocol efficient enough to be used over low-speed modem connection. * Easy input method engine development with plugin API. * Easy input method enabling with libiiimcf, even on console apps. * Small core part to start from. WWW: http://www.openi18n.org/subgroups/im/IIIMF/ PR: ports/60087 Submitted by: Kuang-che Wu <kcwu@csie.org>
Diffstat (limited to 'textproc/iiimf-server/files/patch-iiimsf_src_watchdog.c')
-rw-r--r--textproc/iiimf-server/files/patch-iiimsf_src_watchdog.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/textproc/iiimf-server/files/patch-iiimsf_src_watchdog.c b/textproc/iiimf-server/files/patch-iiimsf_src_watchdog.c
new file mode 100644
index 000000000000..0ea2ed146c79
--- /dev/null
+++ b/textproc/iiimf-server/files/patch-iiimsf_src_watchdog.c
@@ -0,0 +1,11 @@
+--- src/watchdog.c.orig Sat Dec 6 02:47:06 2003
++++ src/watchdog.c Sat Dec 6 02:47:34 2003
+@@ -324,6 +324,8 @@
+ if ((pid_t)(-1) == pgrp)
+ fprintf (stderr,"cannot set session id");
+
++#elif defined(__FreeBSD__)
++ setsid();
+ #else /* !SunOS */
+ pgrp = setpgrp();
+ #endif /* !SunOS */