Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rtags for openSUSE:Factory checked in at 2022-06-27 11:25:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rtags (Old) and /work/SRC/openSUSE:Factory/.rtags.new.1548 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rtags" Mon Jun 27 11:25:33 2022 rev:9 rq:985161 version:2.38 Changes: -------- --- /work/SRC/openSUSE:Factory/rtags/rtags.changes 2021-01-05 18:15:27.303459748 +0100 +++ /work/SRC/openSUSE:Factory/.rtags.new.1548/rtags.changes 2022-06-27 11:25:35.754593704 +0200 @@ -1,0 +2,5 @@ +Sat Jun 25 20:49:16 UTC 2022 - Antoine Belvire <[email protected]> + +- Add rtags-2.38-emacs-28.patch: Fix build with emacs 28. + +------------------------------------------------------------------- New: ---- rtags-2.38-emacs-28.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rtags.spec ++++++ --- /var/tmp/diff_new_pack.7SAKoy/_old 2022-06-27 11:25:36.186594344 +0200 +++ /var/tmp/diff_new_pack.7SAKoy/_new 2022-06-27 11:25:36.194594356 +0200 @@ -1,7 +1,7 @@ # # spec file for package rtags # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,10 +24,12 @@ Group: Development/Tools/Navigators URL: https://github.com/Andersbakken/rtags Source0: https://github.com/Andersbakken/rtags/releases/download/v%{version}/rtags-%{version}.tar.bz2 +# PATCH-FIX-UPSTREAM rtags-2.38-emacs-28.patch -- Fix build with Emacs 28 +Patch0: rtags-2.38-emacs-28.patch +BuildRequires: clang-devel BuildRequires: cmake BuildRequires: emacs-nox BuildRequires: gcc-c++ -BuildRequires: clang-devel BuildRequires: llvm-devel BuildRequires: pkgconfig BuildRequires: pkgconfig(ncurses) @@ -41,7 +43,7 @@ %define _scriptdir %{_datadir}/rtags/ %prep -%autosetup +%autosetup -p1 %build %cmake \ ++++++ rtags-2.38-emacs-28.patch ++++++ >From 63f18acb21e664fd92fbc19465f0b5df085b5e93 Mon Sep 17 00:00:00 2001 From: Przemyslaw Kryger <[email protected]> Date: Sat, 13 Mar 2021 15:35:18 +0000 Subject: [PATCH] Add when argument to define-obsolete-function-alias The `when` has become mandatory since https://emba.gnu.org/emacs/emacs/-/commit/32c6732d16385f242b1109517f25e9aefd6caa5c (credit to @zflat). Fortunately the emacs-24.3 (the lowest supported version according to package), has already support for the `when` parameter. I've used `v2.2` as this is the tag that follows commit that added the obsolete call (dbf1ca3b2518d43f8c1b897d71126cfd132ef30b). --- src/rtags.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rtags.el b/src/rtags.el index 32961934a..0f3cf5a90 100644 --- a/src/rtags.el +++ b/src/rtags.el @@ -4689,7 +4689,7 @@ definition." (and rtags-autostart-diagnostics (rtags-diagnostics)) (set-process-query-on-exit-flag rtags-rdm-process nil) (set-process-sentinel rtags-rdm-process 'rtags-sentinel))))) -(define-obsolete-function-alias 'rtags-start-process-maybe 'rtags-start-process-unless-running) +(define-obsolete-function-alias 'rtags-start-process-maybe 'rtags-start-process-unless-running "v2.2") (defun rtags-sentinel (process _event) "Watch the activity of RTags process (rdm)."
