From c46998277217ea242bb190f0c05eb2bcef5dd207 Mon Sep 17 00:00:00 2001 From: Martin Mokry Date: Mon, 3 Jun 2024 20:52:38 +0200 Subject: [PATCH] dev-embedded/arduino-ctags: Fix modern C build failure Closes: https://bugs.gentoo.org/883239 Closes: https://bugs.gentoo.org/874969 Signed-off-by: Martin Mokry Closes: https://github.com/gentoo/gentoo/pull/37006 Signed-off-by: Sam James --- .../arduino-ctags-20161123-gcc-unused-attribute.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/dev-embedded/arduino-ctags/files/arduino-ctags-20161123-gcc-unused-attribute.patch b/dev-embedded/arduino-ctags/files/arduino-ctags-20161123-gcc-unused-attribute.patch index e725e11936852..96cfb4aa8347d 100644 --- a/dev-embedded/arduino-ctags/files/arduino-ctags-20161123-gcc-unused-attribute.patch +++ b/dev-embedded/arduino-ctags/files/arduino-ctags-20161123-gcc-unused-attribute.patch @@ -223,3 +223,14 @@ Thanks-to: { tagEntryInfo tag; initTagEntry (&tag, vStringValue (function)); +--- a/routines.c ++++ b/routines.c +@@ -526,7 +526,7 @@ static boolean isPathSeparator (const int c) + + #if ! defined (HAVE_STAT_ST_INO) + +-static void canonicalizePath (char *const path __unused__) ++static void canonicalizePath (char *const path __arduino_unused__) + { + #if defined (MSDOS_STYLE_PATH) + char *p;