aboutsummaryrefslogtreecommitdiff
path: root/japanese/multiskkserv
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2004-08-13 15:01:40 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2004-08-13 15:01:40 +0000
commit2aeb77e0c4333dd8099a1c8caa8d13a08503737a (patch)
treeb13bfac8735af87cbce89f748a4d280feb1bae7d /japanese/multiskkserv
parent3253ee1c80cc96156258778e8d2eda315ca6d6f0 (diff)
downloadports-2aeb77e0c4333dd8099a1c8caa8d13a08503737a.tar.gz
ports-2aeb77e0c4333dd8099a1c8caa8d13a08503737a.zip
Notes
Diffstat (limited to 'japanese/multiskkserv')
-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;
+ }
+