summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsanpei <sanpei@FreeBSD.org>2011-09-04 05:17:59 +0000
committersanpei <sanpei@FreeBSD.org>2011-09-04 05:17:59 +0000
commitf68ffd92854f0ca5f4c06e8850a365f0824d9ab2 (patch)
tree478a356d06eb042973bfec56454079e2bb563051
parentb639148689e708bdcf13f12d5c3379606d0798e7 (diff)
downloadFreeBSD-ports-f68ffd92854f0ca5f4c06e8850a365f0824d9ab2.zip
FreeBSD-ports-f68ffd92854f0ca5f4c06e8850a365f0824d9ab2.tar.gz
- add comment about core dump problem only with ja_JP.EUC, not with ja_JP.SJIS
- re-enable Internationalization code
-rw-r--r--mail/xpbiff/Makefile2
-rw-r--r--mail/xpbiff/files/patch-aa6
-rw-r--r--mail/xpbiff/pkg-descr10
3 files changed, 12 insertions, 6 deletions
diff --git a/mail/xpbiff/Makefile b/mail/xpbiff/Makefile
index f1274be..16cc249 100644
--- a/mail/xpbiff/Makefile
+++ b/mail/xpbiff/Makefile
@@ -7,7 +7,7 @@
PORTNAME?= xpbiff
PORTVERSION?= 1.27
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= sanpei
diff --git a/mail/xpbiff/files/patch-aa b/mail/xpbiff/files/patch-aa
index 0351c9e..085a89f 100644
--- a/mail/xpbiff/files/patch-aa
+++ b/mail/xpbiff/files/patch-aa
@@ -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
diff --git a/mail/xpbiff/pkg-descr b/mail/xpbiff/pkg-descr
index 829b73d..2d4afb7 100644
--- a/mail/xpbiff/pkg-descr
+++ b/mail/xpbiff/pkg-descr
@@ -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.
OpenPOWER on IntegriCloud