commit: c46998277217ea242bb190f0c05eb2bcef5dd207 Author: Martin Mokry <martin-kokos <AT> protonmail <DOT> com> AuthorDate: Mon Jun 3 18:52:38 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Jun 14 08:10:44 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4699827
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 <martin-kokos <AT> protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/37006 Signed-off-by: Sam James <sam <AT> gentoo.org> .../files/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 e725e1193685..96cfb4aa8347 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: <[email protected]> { 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;
