From 59861a487ee1afbc258e771e98dca3cca7f192fd Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 15 Sep 2016 22:07:02 +0200 Subject: mtools: skip checks, add Darwin cross-compile workaround --- package/mtools/patches/patch-sysincludes_h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 package/mtools/patches/patch-sysincludes_h (limited to 'package/mtools/patches/patch-sysincludes_h') 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 -- cgit v1.2.3