summaryrefslogtreecommitdiff
path: root/package/mtools/patches/patch-sysincludes_h
diff options
context:
space:
mode:
Diffstat (limited to 'package/mtools/patches/patch-sysincludes_h')
-rw-r--r--package/mtools/patches/patch-sysincludes_h11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/mtools/patches/patch-sysincludes_h b/package/mtools/patches/patch-sysincludes_h
new file mode 100644
index 000000000..6af8e8230
--- /dev/null
+++ b/package/mtools/patches/patch-sysincludes_h
@@ -0,0 +1,11 @@
+--- mtools-4.0.18.orig/sysincludes.h 2013-01-07 23:45:56.000000000 +0100
++++ mtools-4.0.18/sysincludes.h 2016-09-14 08:46:14.000000000 +0200
+@@ -103,7 +103,7 @@ typedef void *caddr_t;
+ # define PACKED __attribute__ ((packed))
+ # if __GNUC__ == 2 && __GNUC_MINOR__ > 6 || __GNUC__ >= 3
+ /* gcc 2.6.3 doesn't have "unused" */ /* mool */
+-# define UNUSED(x) x __attribute__ ((unused));x
++# define UNUSED(x) x
+ # define UNUSEDP __attribute__ ((unused))
+ # else
+ # define UNUSED(x) x