aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/multiskkserv/files
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2004-08-13 23:01:40 +0800
committerarved <arved@FreeBSD.org>2004-08-13 23:01:40 +0800
commit02ae1b69db1b48573c20ecc133f852ed24a8765c (patch)
tree17811038ada91dde7d37e77a972bbf3a71587de6 /japanese/multiskkserv/files
parente6ccb1dc03cae3b91af914746ce428adb152a138 (diff)
downloadfreebsd-ports-gnome-02ae1b69db1b48573c20ecc133f852ed24a8765c.tar.gz
freebsd-ports-gnome-02ae1b69db1b48573c20ecc133f852ed24a8765c.tar.zst
freebsd-ports-gnome-02ae1b69db1b48573c20ecc133f852ed24a8765c.zip
Run in background mode.
Fix build with gcc 3.4.2 PR: 70403 Submitted by: Takahiro MORISHITA
Diffstat (limited to 'japanese/multiskkserv/files')
-rw-r--r--japanese/multiskkserv/files/multiskkserv.sh2
-rw-r--r--japanese/multiskkserv/files/patch-src:multiskkserv-ctl.c11
2 files changed, 12 insertions, 1 deletions
diff --git a/japanese/multiskkserv/files/multiskkserv.sh b/japanese/multiskkserv/files/multiskkserv.sh
index a733f6122ea0..b06b287cd04b 100644
--- a/japanese/multiskkserv/files/multiskkserv.sh
+++ b/japanese/multiskkserv/files/multiskkserv.sh
@@ -25,7 +25,7 @@ command=%%PREFIX%%/sbin/multiskkserv
# set defaults
multiskkserv_enable=${multiskkserv_enable:-"NO"}
-multiskkserv_flags=${multiskkserv_flags:-"%%PREFIX%%/%%SKKDIR%%/SKK-JISYO.%%SKKJISYO_TYPE%%.cdb"}
+multiskkserv_flags=${multiskkserv_flags:-"%%PREFIX%%/%%SKKDIR%%/SKK-JISYO.%%SKKJISYO_TYPE%%.cdb &"}
load_rc_config ${name}
run_rc_command "$1"
diff --git a/japanese/multiskkserv/files/patch-src:multiskkserv-ctl.c b/japanese/multiskkserv/files/patch-src:multiskkserv-ctl.c
new file mode 100644
index 000000000000..b1a30b6d75eb
--- /dev/null
+++ b/japanese/multiskkserv/files/patch-src:multiskkserv-ctl.c
@@ -0,0 +1,11 @@
+--- src/multiskkserv-ctl.c.orig Sun Jan 13 06:10:13 2002
++++ src/multiskkserv-ctl.c Fri Aug 13 19:50:45 2004
+@@ -168,7 +168,7 @@
+ char rbuf[SKKSERV_REQUEST_SIZE];
+
+ if ((sock = socket_connect(remote, &sstr, port, (char *)SKKSERV_SERVICE, family)) < 0) {
+- fprintf(stderr, __FUNCTION__ ": cannot make a connection.\n");
++ fprintf(stderr, "%s%s", __FUNCTION__, ": cannot make a connection.\n");
+ return;
+ }
+