Import patches from pkgsrc

* Adjust paths to modern conventions.
* Avoid opening /dev/console.
* Consistently provide lowercase and MixedCase options.
* Don't abuse an int as a pointer (optarg).
* Fix compilation errors on NetBSD and DragonFly BSD.
* Fix documentation.
* Import headers and remove redundant declarations.

Signed-off-by: Masanori Ogino <mogino@acm.org>
This commit is contained in:
Masanori Ogino 2023-11-27 10:29:45 +09:00
commit 381c676eda
26 changed files with 143 additions and 98 deletions

View file

@ -105,16 +105,16 @@ sj3dic \- sj3
.SH 関連ファイル
.PD 0
.TP \w'\ \ \ \ user/\fIusername\fP/private.dic'u+2n
/usr/bin/sj3serv
/usr/local/bin/sj3serv
かな漢字変換サーバ
.TP
/usr/lib/sj3/serverrc
/usr/local/lib/sj3/serverrc
かな漢字変換サーバ セットアップファイル
.TP
/usr/bin/sj3
/usr/local/bin/sj3
日本語入力フロントエンドプロセッサ
.TP
/usr/dict/sj3/
/usr/local/lib/sj3/dict/
かな漢字変換サーバ デフォルト辞書ディレクトリ
.TP
sj3main.dic
@ -126,10 +126,10 @@ sj3dic \- sj3
user/\fIusername\fP/study.dat
かな漢字変換学習ファイル
.TP
/usr/include/sj3lib.h
/usr/local/include/sj3lib.h
かな漢字変換ライブラリ用インクルードファイル
.TP
/usr/lib/libsj3lib.a
/usr/local/lib/libsj3lib.a
かな漢字変換ライブラリ
.\".TP
.\"/usr/sony/demo/sj3/*