From bfa72cc7ec8f7d436fa8a99f1472e0440ec42ca408e220fe30611e066d13a26e Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 18 Aug 2020 12:30:49 +0000 Subject: [PATCH] Accepting request 827578 from home:WernerFink:branches:Publishing - 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/827578 OBS-URL: https://build.opensuse.org/package/show/Publishing/psgml?expand=0&rev=22 --- bugzilla-1175274-emacs-27.1.patch | 30 ++++++++++++++++++++++++++++++ psgml.changes | 7 +++++++ psgml.spec | 4 +++- 3 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 bugzilla-1175274-emacs-27.1.patch diff --git a/bugzilla-1175274-emacs-27.1.patch b/bugzilla-1175274-emacs-27.1.patch new file mode 100644 index 0000000..c488084 --- /dev/null +++ b/bugzilla-1175274-emacs-27.1.patch @@ -0,0 +1,30 @@ +There is no (process-kill-without-query) anymore, use +(set-process-query-on-exit-flag) instead. + +--- + psgml-edit.el | 2 +- + psgml-jade.el | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +--- psgml-edit.el ++++ psgml-edit.el 2020-08-18 11:37:26.469311227 +0000 +@@ -1974,7 +1974,7 @@ characters in the current coding system. + (process (start-process + (format "%s background" handler) + nil handler file))) +- (process-kill-without-query process)))) ++ (set-process-query-on-exit-flag process nil)))) + (error "Don't know how to handle notation '%s'." notation))) + (text (progn + +--- psgml-jade.el ++++ psgml-jade.el 2020-08-18 11:37:36.901126421 +0000 +@@ -347,7 +347,7 @@ by EXTENSION, if non-nil." + (erase-buffer) + (let ((process (start-process (concat name " background") + nil "/bin/sh" "-c" command))) +- (process-kill-without-query process)))) ++ (set-process-query-on-exit-flag process nil)))) + + (defun sgml-run-command (name command file error-regexp) + "Hook for `sgml-command-list'." diff --git a/psgml.changes b/psgml.changes index 98705ea..97df611 100644 --- a/psgml.changes +++ b/psgml.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Aug 18 11:19:51 UTC 2020 - Dr. Werner Fink + +- 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). + ------------------------------------------------------------------- Mon Nov 25 14:59:06 UTC 2019 - Dominique Leuenberger diff --git a/psgml.spec b/psgml.spec index fc8bd02..4122cb0 100644 --- a/psgml.spec +++ b/psgml.spec @@ -1,7 +1,7 @@ # # spec file for package psgml # -# Copyright (c) 2019 SUSE LLC. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -48,6 +48,7 @@ Patch6: tdtd-dtd-patch Patch7: xxml-indentation.diff Patch8: flavour.patch Patch9: psgml-texinfo-6.7.patch +Patch10: bugzilla-1175274-emacs-27.1.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch URL: http://sourceforge.net/projects/psgml/ @@ -102,6 +103,7 @@ cp -p %{SOURCE8} . cp -p %{S:9} . %patch -p 1 -P 6 %patch8 +%patch10 -p0 %build ./configure --prefix=%{_prefix} --infodir=%{_infodir}