Vladimir Serbinenko
8 years ago
committed by
Fredrik Fornwall
2 changed files with 20 additions and 0 deletions
@ -0,0 +1,7 @@ |
|||
TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/mtools/ |
|||
TERMUX_PKG_DESCRIPTION="Tool for manipulating FAT images." |
|||
TERMUX_PKG_VERSION=4.0.18 |
|||
TERMUX_PKG_SRCURL=ftp://ftp.gnu.org/gnu/mtools/mtools-${TERMUX_PKG_VERSION}.tar.bz2 |
|||
TERMUX_PKG_SHA256=59e9cf80885399c4f229e5d87e49c0c2bfeec044e1386d59fcd0b0aead6b2f85 |
|||
TERMUX_PKG_DEPENDS="libandroid-support" |
|||
|
@ -0,0 +1,13 @@ |
|||
Change UNUSED macro to a more modern equivalent to prevent clang from choking. |
|||
|
|||
--- tmp/sysincludes.h 2017-08-02 00:55:33.321338244 +0200
|
|||
+++ mtools/src/sysincludes.h 2017-08-02 00:55:39.884624033 +0200
|
|||
@@ -103,7 +103,7 @@
|
|||
# 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 __attribute__ ((unused))
|
|||
# define UNUSEDP __attribute__ ((unused)) |
|||
# else |
|||
# define UNUSED(x) x |
Loading…
Reference in new issue