SHA256
1
0
forked from pool/anthy

Accepting request 205979 from home:tiwai:branches:M17N

- Fix breakage on GNU Emacs on openSUSE 13.1 (bnc#849211)

OBS-URL: https://build.opensuse.org/request/show/205979
OBS-URL: https://build.opensuse.org/package/show/M17N/anthy?expand=0&rev=22
This commit is contained in:
Marguerite Su 2013-11-06 15:16:56 +00:00 committed by Git OBS Bridge
parent 3a8f497655
commit ebb7a4f105
3 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,15 @@
---
src-util/anthy.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/src-util/anthy.el
+++ b/src-util/anthy.el
@@ -892,7 +892,7 @@
((equal event (character-to-event 'backspace)) 8)
(t
(char-to-int (event-to-character event)))))
- last-command-char))
+ last-command-event))
;;
;;

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Nov 6 15:32:43 CET 2013 - tiwai@suse.de
- Fix breakage on GNU Emacs on openSUSE 13.1 (bnc#849211)
-------------------------------------------------------------------
Fri Jul 12 12:39:02 CEST 2013 - tiwai@suse.de

View File

@ -45,6 +45,8 @@ Source1: suse-start-anthy.el
Source2: baselibs.conf
Patch2: anthy-last-command-char-xemacs.patch
Patch3: bugzilla-224463-comparison-with-string-literal.patch
# PATCH-FIX-OPENSUSE anthy-use-last-command-event.diff bnc#849211 tiwai@suse.de
Patch4: anthy-use-last-command-event.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Kana-Kanji Conversion Engine
License: GPL-2.0+ and LGPL-2.1+
@ -88,6 +90,9 @@ to develop applications that require these.
%setup -q
%patch2 -p 1
%patch3 -p 1
%if 0%{?suse_version} > 1230
%patch4 -p 1
%endif
%build
autoreconf --force --install