I found and fixed 2 problems of emacs-anthy-9100h used with emacs 24.3. - Add patches/patch-src-util_anthy_el. emacs-anthy-9100h doesn't work with emacs 24.3 since emacs 24.3 doesn't have `last-command-char' any more. The upstream hasn't released a fixed version yet.
- emacs 24.3 doesn't create .elc for leim-list.el. Remove leim-list.elc from PLIST. Index: Makefile =================================================================== RCS file: /disk/cvs/openbsd/ports/inputmethods/anthy/Makefile,v retrieving revision 1.16 diff -u -p -r1.16 Makefile --- Makefile 10 Nov 2013 11:39:33 -0000 1.16 +++ Makefile 30 Nov 2013 01:56:25 -0000 @@ -7,6 +7,7 @@ V = 9100h DISTNAME = anthy-$V PKGNAME-main = anthy-$V PKGNAME-emacs = emacs-anthy-$V +REVISION-emacs = 0 SHARED_LIBS += anthydic 1.0 # .1.0 SHARED_LIBS += anthy 1.0 # .1.0 Index: patches/patch-src-util_anthy_el =================================================================== RCS file: patches/patch-src-util_anthy_el diff -N patches/patch-src-util_anthy_el --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-src-util_anthy_el 30 Nov 2013 01:56:25 -0000 @@ -0,0 +1,12 @@ +$OpenBSD$ +--- src-util/anthy.el.orig Sat Nov 30 10:40:43 2013 ++++ src-util/anthy.el Sat Nov 30 10:40:55 2013 +@@ -892,7 +892,7 @@ + ((event-matches-key-specifier-p event 'backspace) 8) + (t + (char-to-int (event-to-character event))))) +- last-command-char)) ++ last-command-event)) + + ;; + ;; Index: pkg/PLIST-emacs =================================================================== RCS file: /disk/cvs/openbsd/ports/inputmethods/anthy/pkg/PLIST-emacs,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 PLIST-emacs --- pkg/PLIST-emacs 18 Oct 2006 23:13:34 -0000 1.1.1.1 +++ pkg/PLIST-emacs 30 Nov 2013 01:56:25 -0000 @@ -1,4 +1,4 @@ -@comment $OpenBSD: PLIST-emacs,v 1.1.1.1 2006/10/18 23:13:34 espie Exp $ +@comment $OpenBSD: espie $ share/emacs/ share/emacs/site-lisp/ share/emacs/site-lisp/anthy/ @@ -15,4 +15,3 @@ share/emacs/site-lisp/anthy/anthy-kyuri. share/emacs/site-lisp/anthy/anthy.el share/emacs/site-lisp/anthy/anthy.elc share/emacs/site-lisp/anthy/leim-list.el -share/emacs/site-lisp/anthy/leim-list.elc
