summaryrefslogtreecommitdiff
path: root/package/mtools/patches/patch-sysincludes_h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-15 22:07:02 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-15 22:07:15 +0200
commit59861a487ee1afbc258e771e98dca3cca7f192fd (patch)
tree96ef97181843f081ebfd168cf9a1238dd965a4bc /package/mtools/patches/patch-sysincludes_h
parent3ebb585eef3eb378e5307ec6efa34f58943c353c (diff)
mtools: skip checks, add Darwin cross-compile workaround
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