From: Felix Fietkau Date: Wed, 15 Jul 2015 08:16:40 +0000 (+0000) Subject: tools/e2fsprogs: add a darwin-compat patch X-Git-Tag: reboot~2475 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=52ea491bdf6c57fdd60c5ffc268af3bd67c35103;p=openwrt%2Fstaging%2Fjogo.git tools/e2fsprogs: add a darwin-compat patch On darwin we need to import stdint to get these integer typedefs. Patch by: Lawrence D'Anna Signed-off-by: Felix Fietkau SVN-Revision: 46378 --- diff --git a/tools/e2fsprogs/patches/005-darwin-compat.patch b/tools/e2fsprogs/patches/005-darwin-compat.patch new file mode 100644 index 0000000000..bc81d8638a --- /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 ++ + #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 ++ + #ifdef __U8_TYPEDEF + typedef __U8_TYPEDEF __u8; + #else