forked from pool/anthy
Accepting request 827577 from home:WernerFink:branches:M17N
- Add patch bugzilla-1175274-emacs-27.1.patch There is no (process-kill-without-query) anymore, use (set-process-query-on-exit-flag) instead (boo#1175274). OBS-URL: https://build.opensuse.org/request/show/827577 OBS-URL: https://build.opensuse.org/package/show/M17N/anthy?expand=0&rev=38
This commit is contained in:
parent
9aa3ffb872
commit
b0293bcd6e
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 18 11:19:51 UTC 2020 - Dr. Werner Fink <werner@suse.de>
|
||||||
|
|
||||||
|
- Add patch bugzilla-1175274-emacs-27.1.patch
|
||||||
|
There is no (process-kill-without-query) anymore, use
|
||||||
|
(set-process-query-on-exit-flag) instead (boo#1175274).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jun 13 07:07:00 UTC 2019 - Dominique Leuenberger <dimstar@opensuse.org>
|
Thu Jun 13 07:07:00 UTC 2019 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package anthy
|
# spec file for package anthy
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2020 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -46,6 +46,7 @@ Patch2: anthy-last-command-char-xemacs.patch
|
|||||||
Patch3: bugzilla-224463-comparison-with-string-literal.patch
|
Patch3: bugzilla-224463-comparison-with-string-literal.patch
|
||||||
# PATCH-FIX-OPENSUSE anthy-use-last-command-event.diff bnc#849211 tiwai@suse.de
|
# PATCH-FIX-OPENSUSE anthy-use-last-command-event.diff bnc#849211 tiwai@suse.de
|
||||||
Patch4: anthy-use-last-command-event.diff
|
Patch4: anthy-use-last-command-event.diff
|
||||||
|
Patch5: bugzilla-1175274-emacs-27.1.patch
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
%if %{with emacs}
|
%if %{with emacs}
|
||||||
@ -86,6 +87,7 @@ to develop applications that require libanthy.
|
|||||||
%patch2 -p 1
|
%patch2 -p 1
|
||||||
%patch3 -p 1
|
%patch3 -p 1
|
||||||
%patch4 -p 1
|
%patch4 -p 1
|
||||||
|
%patch5 -p 0
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf --force --install
|
autoreconf --force --install
|
||||||
|
35
bugzilla-1175274-emacs-27.1.patch
Normal file
35
bugzilla-1175274-emacs-27.1.patch
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
There is no (process-kill-without-query) anymore, use
|
||||||
|
(set-process-query-on-exit-flag) instead.
|
||||||
|
|
||||||
|
---
|
||||||
|
src-util/anthy.el | 12 ++++++------
|
||||||
|
1 file changed, 6 insertions(+), 6 deletions(-)
|
||||||
|
|
||||||
|
--- src-util/anthy.el
|
||||||
|
+++ src-util/anthy.el 2020-08-18 11:58:02.915408190 +0000
|
||||||
|
@@ -161,11 +161,11 @@
|
||||||
|
|
||||||
|
;; From skk-macs.el From viper-util.el. Welcome!
|
||||||
|
(defmacro anthy-deflocalvar (var default-value &optional documentation)
|
||||||
|
- (` (progn
|
||||||
|
- (defvar (, var) (, default-value)
|
||||||
|
- (, (format "%s\n\(buffer local\)" documentation)))
|
||||||
|
- (make-variable-buffer-local '(, var))
|
||||||
|
- )))
|
||||||
|
+ `(progn
|
||||||
|
+ (defvar ,var ,default-value
|
||||||
|
+ ,(format "%s\n\(buffer local\)" documentation))
|
||||||
|
+ (make-variable-buffer-local ',var)
|
||||||
|
+ ))
|
||||||
|
|
||||||
|
;; buffer local variables
|
||||||
|
(anthy-deflocalvar anthy-context-id nil "$B%3%s%F%-%9%H$N(Bid")
|
||||||
|
@@ -745,7 +745,7 @@
|
||||||
|
(if anthy-agent-process
|
||||||
|
(kill-process anthy-agent-process))
|
||||||
|
(setq anthy-agent-process proc)
|
||||||
|
- (process-kill-without-query proc)
|
||||||
|
+ (set-process-query-on-exit-flag proc nil)
|
||||||
|
(if anthy-xemacs
|
||||||
|
(if (coding-system-p (find-coding-system 'euc-japan))
|
||||||
|
(set-process-coding-system proc 'euc-japan 'euc-japan))
|
Loading…
Reference in New Issue
Block a user