summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Mokry <martin-kokos@protonmail.com>2024-06-03 20:52:38 +0200
committerSam James <sam@gentoo.org>2024-06-14 09:10:44 +0100
commitc46998277217ea242bb190f0c05eb2bcef5dd207 (patch)
tree39bd63b18470a3adc09801f2fca62ed9ec9bfd4d /dev-embedded
parentnet-misc/ntpsec: more idiomatic use of distutils-r1 (diff)
downloadgentoo-c46998277217ea242bb190f0c05eb2bcef5dd207.tar.gz
gentoo-c46998277217ea242bb190f0c05eb2bcef5dd207.tar.bz2
gentoo-c46998277217ea242bb190f0c05eb2bcef5dd207.zip
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@protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/37006 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-embedded')
-rw-r--r--dev-embedded/arduino-ctags/files/arduino-ctags-20161123-gcc-unused-attribute.patch11
1 files changed, 11 insertions, 0 deletions
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: <s.zharkoff@gmail.com>
{
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;