diff options
-rw-r--r-- | emacs/29.3/06_all_flymake-gcc-14.patch | 15 | ||||
-rw-r--r-- | emacs/29.4/04_all_flymake-gcc-14.patch | 15 |
2 files changed, 30 insertions, 0 deletions
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))) |