From c2b0367b543123d7b3256c070c0344458413382d Mon Sep 17 00:00:00 2001 From: Akira TAGOH Date: Mar 08 2013 09:53:23 +0000 Subject: Apply a patch from Mike FABIAN to get anthy.el working back on Emacs 24.3.1. --- diff --git a/anthy-fix-elisp.patch b/anthy-fix-elisp.patch new file mode 100644 index 0000000..a4da2a4 --- /dev/null +++ b/anthy-fix-elisp.patch @@ -0,0 +1,12 @@ +diff -pruN anthy-9100h.orig/src-util/anthy.el anthy-9100h/src-util/anthy.el +--- anthy-9100h.orig/src-util/anthy.el 2008-11-29 21:46:00.000000000 +0900 ++++ anthy-9100h/src-util/anthy.el 2013-03-08 18:49:51.000000000 +0900 +@@ -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)) + + ;; + ;; diff --git a/anthy.spec b/anthy.spec index ce7c3a3..3c69f7e 100644 --- a/anthy.spec +++ b/anthy.spec @@ -3,7 +3,7 @@ Name: anthy Version: 9100h -Release: 20%{?dist} +Release: 21%{?dist} # The entire source code is LGPLv2+ and dictionaries is GPLv2. the corpus data is under Public Domain. License: LGPLv2+ and GPLv2 and Public Domain URL: http://sourceforge.jp/projects/anthy/ @@ -17,6 +17,7 @@ Source1: anthy-init.el Patch0: anthy-fix-typo-in-dict.patch Patch1: anthy-fix-typo-in-dict-name.patch Patch10: anthy-corpus.patch +Patch11: anthy-fix-elisp.patch Summary: Japanese character set input library Group: System Environment/Libraries @@ -89,6 +90,7 @@ package to use Anthy with XEmacs. %patch0 -p1 -b .0-typo %patch1 -p1 -b .1-typo-name %patch10 -p1 -b .10-corpus +%patch11 -p1 -b .11-elisp # Convert to utf-8 for file in ChangeLog doc/protocol.txt; do @@ -223,6 +225,9 @@ popd %endif %changelog +* Fri Mar 8 2013 Akira TAGOH - 9100h-21 +- Apply a patch from Mike FABIAN to get anthy.el working back on Emacs 24.3.1. + * Wed Feb 13 2013 Fedora Release Engineering - 9100h-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild