pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/mew Add UTF-8 hack for Emacs 23. Patch from Mew ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c2526a8ccb17
branches:  trunk
changeset: 397501:c2526a8ccb17
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Fri Aug 14 17:21:20 2009 +0000

description:
Add UTF-8 hack for Emacs 23.  Patch from Mew CVS.

diffstat:

 mail/mew/Makefile         |   3 ++-
 mail/mew/patches/patch-ab |  14 ++++++++++++++
 2 files changed, 16 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r 5b0f84030c8c -r c2526a8ccb17 mail/mew/Makefile
--- a/mail/mew/Makefile Fri Aug 14 16:15:31 2009 +0000
+++ b/mail/mew/Makefile Fri Aug 14 17:21:20 2009 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.77 2009/08/09 12:01:18 minskim Exp $
+# $NetBSD: Makefile,v 1.78 2009/08/14 17:21:20 minskim Exp $
 
 DISTNAME=      mew-6.2
 PKGNAME=       ${EMACS_PKGNAME_PREFIX}${DISTNAME}
+PKGREVISION=   1
 CATEGORIES=    mail
 MASTER_SITES=  http://www.mew.org/Release/
 
diff -r 5b0f84030c8c -r c2526a8ccb17 mail/mew/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/mew/patches/patch-ab Fri Aug 14 17:21:20 2009 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-ab,v 1.1 2009/08/14 17:21:20 minskim Exp $
+
+--- mew-env.el.orig    2008-08-05 18:59:25.000000000 -0700
++++ mew-env.el
+@@ -45,7 +45,8 @@ requires PTY.")
+ (defvar mew-icon-p (featurep 'tool-bar))
+ 
+ (defvar mew-internal-utf-8p nil)
+-(if (fboundp 'utf-translate-cjk-mode) ;; Emacs 22.1 or later
++(if (or (fboundp 'utf-translate-cjk-mode) ;; Emacs 22.1 or later
++      (coding-system-p 'utf-8-emacs))
+     (setq mew-internal-utf-8p t))
+ 
+ (require 'mew-key)



Home | Main Index | Thread Index | Old Index