file: Update from 5.32 to 5.33
[termux-packages] / packages / mtools / sysinc.patch
1 Change UNUSED macro to a more modern equivalent to prevent clang from choking.
2
3 --- tmp/sysincludes.h 2017-08-02 00:55:33.321338244 +0200
4 +++ mtools/src/sysincludes.h 2017-08-02 00:55:39.884624033 +0200
5 @@ -103,7 +103,7 @@
6 # define PACKED __attribute__ ((packed))
7 # if __GNUC__ == 2 && __GNUC_MINOR__ > 6 || __GNUC__ >= 3
8 /* gcc 2.6.3 doesn't have "unused" */ /* mool */
9 -# define UNUSED(x) x __attribute__ ((unused));x
10 +# define UNUSED(x) x __attribute__ ((unused))
11 # define UNUSEDP __attribute__ ((unused))
12 # else
13 # define UNUSED(x) x