aboutsummaryrefslogtreecommitdiffstats
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
commitf1c187be921de56fec4760c22d7c45728337b95a (patch)
tree22ab1f04ec6b23a3373cb49b808cf73fe1e17548 /tools
parentf5d588d06ec09d6f042766a2cec0a4c4e1d3575e (diff)
downloadmaster-187ad058-f1c187be921de56fec4760c22d7c45728337b95a.tar.gz
master-187ad058-f1c187be921de56fec4760c22d7c45728337b95a.tar.bz2
master-187ad058-f1c187be921de56fec4760c22d7c45728337b95a.zip
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46378 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 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 <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