summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;