From 4ea8869a86bcd567420785dc0e75709aa3d1a504 Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Mon, 24 Jun 2024 17:10:54 +0200 Subject: 29.3, 29.4: Fix test failure with GCC 14 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ulrich Müller --- emacs/29.3/06_all_flymake-gcc-14.patch | 15 +++++++++++++++ emacs/29.4/04_all_flymake-gcc-14.patch | 15 +++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 emacs/29.3/06_all_flymake-gcc-14.patch create mode 100644 emacs/29.4/04_all_flymake-gcc-14.patch diff --git a/emacs/29.3/06_all_flymake-gcc-14.patch b/emacs/29.3/06_all_flymake-gcc-14.patch new file mode 100644 index 0000000..5167d21 --- /dev/null +++ b/emacs/29.3/06_all_flymake-gcc-14.patch @@ -0,0 +1,15 @@ +Fix flymake tests with GCC 14 +https://debbugs.gnu.org/71749 + +--- emacs-29.3/test/lisp/progmodes/flymake-tests.el ++++ emacs-29.3/test/lisp/progmodes/flymake-tests.el +@@ -174,7 +174,8 @@ + (flymake-tests--with-flymake + ("some-problems.h") + (flymake-goto-next-error) +- (should (eq 'flymake-warning (face-at-point))) ++ ;; implicit-int was promoted from warning to error in GCC 14 ++ (should (memq (face-at-point) '(flymake-warning flymake-error))) + (flymake-goto-next-error) + (should (eq 'flymake-error (face-at-point))) + (should-error (flymake-goto-next-error nil nil t))) diff --git a/emacs/29.4/04_all_flymake-gcc-14.patch b/emacs/29.4/04_all_flymake-gcc-14.patch new file mode 100644 index 0000000..5167d21 --- /dev/null +++ b/emacs/29.4/04_all_flymake-gcc-14.patch @@ -0,0 +1,15 @@ +Fix flymake tests with GCC 14 +https://debbugs.gnu.org/71749 + +--- emacs-29.3/test/lisp/progmodes/flymake-tests.el ++++ emacs-29.3/test/lisp/progmodes/flymake-tests.el +@@ -174,7 +174,8 @@ + (flymake-tests--with-flymake + ("some-problems.h") + (flymake-goto-next-error) +- (should (eq 'flymake-warning (face-at-point))) ++ ;; implicit-int was promoted from warning to error in GCC 14 ++ (should (memq (face-at-point) '(flymake-warning flymake-error))) + (flymake-goto-next-error) + (should (eq 'flymake-error (face-at-point))) + (should-error (flymake-goto-next-error nil nil t))) -- cgit v1.2.3-65-gdbad