summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-07-15 08:16:40 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-07-15 08:16:40 +0000
commit52ea491bdf6c57fdd60c5ffc268af3bd67c35103 (patch)
treeff26aacd7ee08fffe53658d4aa29b90d5426b6b3 /tools
parente23c3bb3397447c04719fd98f0df77ed358a3daa (diff)
downloadmtk-20170518-52ea491bdf6c57fdd60c5ffc268af3bd67c35103.zip
mtk-20170518-52ea491bdf6c57fdd60c5ffc268af3bd67c35103.tar.gz
mtk-20170518-52ea491bdf6c57fdd60c5ffc268af3bd67c35103.tar.bz2
tools/e2fsprogs: add a darwin-compat patch
On darwin we need to import stdint to get these integer typedefs. Patch by: Lawrence D'Anna <larry@elder-gods.org> Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46378
Diffstat (limited to 'tools')
-rw-r--r--tools/e2fsprogs/patches/005-darwin-compat.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/tools/e2fsprogs/patches/005-darwin-compat.patch b/tools/e2fsprogs/patches/005-darwin-compat.patch
new file mode 100644
index 0000000..bc81d86
--- /dev/null
+++ b/tools/e2fsprogs/patches/005-darwin-compat.patch
@@ -0,0 +1,22 @@
+--- a/lib/blkid/blkid_types.h.in
++++ b/lib/blkid/blkid_types.h.in
+@@ -9,6 +9,8 @@
+
+ @ASM_TYPES_HEADER@
+
++#include <stdint.h>
++
+ #ifdef __U8_TYPEDEF
+ typedef __U8_TYPEDEF __u8;
+ #else
+--- a/lib/ext2fs/ext2_types.h.in
++++ b/lib/ext2fs/ext2_types.h.in
+@@ -9,6 +9,8 @@
+
+ @ASM_TYPES_HEADER@
+
++#include <stdint.h>
++
+ #ifdef __U8_TYPEDEF
+ typedef __U8_TYPEDEF __u8;
+ #else