- add comment about core dump problem only with ja_JP.EUC, not with ja_JP.SJIS

- re-enable Internationalization code
This commit is contained in:
MIHIRA Sanpei Yoshiro 2011-09-04 05:17:59 +00:00
parent ba4e488555
commit 1ea6d1b0c4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=281130
3 changed files with 12 additions and 6 deletions

View file

@ -7,7 +7,7 @@
PORTNAME?= xpbiff
PORTVERSION?= 1.27
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= sanpei

View file

@ -46,11 +46,11 @@
+#define XPM
+
+#ifdef XPM
+#ifdef FreeBSDArchitecture
+#ifdef __FreeBSD__
+#undef DepXpmLib
+#else
+#define DepXpmLib /usr/local/lib/libXpm.a
+#endif /* FreeBSDArchitecture */
+#endif /* __FreeBSD__ */
+#endif /* XPM */
/*
@ -59,7 +59,7 @@
-#undef XI18N
-/* If you use X11R6, these settings below are not necessary */
+#ifndef XI18N
+#ifdef FreeBSDArchitecture
+#ifdef __FreeBSD__
+#define XI18N
+#endif
+#endif

View file

@ -2,14 +2,20 @@ xpbiff: fancy biff program under X11 environment, supporting Japanese MIME
extensions
This port supports Japanese strings in the From and Subject fields.
Please set the LANG enviroment variable to ja_JP.EUC by doing:
Please set the LANG enviroment variable to ja_JP.EUC or ja_JP.SJIS by doing:
setenv LANG ja_JP.EUC
or
setenv LANG ja_JP.SJIS
There is experimental support for Sun audio. This port also supports
XPM bitmap files.
known problem:
(1) HANKAKU-KANA
(1) HANKAKU-KANA with ja_JP.EUC
Xpbiff dumps core, because code conversion routines jis2euc()
assumes "the conversion does not makes the string longer". But
when converting so-called 'hankaku-kana', this assumption breaks.
This problem is only with ja_JP.EUC.
If you use with ja_JP.SJIS, this problem is not occure.
Thank you.