diff options
Diffstat (limited to 'package/utils/xfsprogs/patches/120-disable_assert.patch')
-rw-r--r-- | package/utils/xfsprogs/patches/120-disable_assert.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/package/utils/xfsprogs/patches/120-disable_assert.patch b/package/utils/xfsprogs/patches/120-disable_assert.patch new file mode 100644 index 0000000000..9a970d27ae --- /dev/null +++ b/package/utils/xfsprogs/patches/120-disable_assert.patch @@ -0,0 +1,12 @@ +--- a/libxfs/libxfs_priv.h ++++ b/libxfs/libxfs_priv.h +@@ -84,9 +84,6 @@ extern uint32_t crc32c_le(uint32_t crc, + /* for all the support code that uses progname in error messages */ + extern char *progname; + +-#undef ASSERT +-#define ASSERT(ex) assert(ex) +- + #ifndef EWRONGFS + #define EWRONGFS EINVAL + #endif |