summaryrefslogtreecommitdiffstats
path: root/main/e2fsprogs/fix_uint64_t.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-09-27 17:29:05 +0300
committerTimo Teräs <timo.teras@iki.fi>2013-09-27 17:29:49 +0300
commitc5d8cfdc4a5a1b5303475627fd265422dc1887df (patch)
tree6f5098c21759d27a970cbe23a92fe5c20e345da0 /main/e2fsprogs/fix_uint64_t.patch
parent1751d6595597f1d9101cac04e54f20d95790f4f4 (diff)
downloadaports-c5d8cfdc4a5a1b5303475627fd265422dc1887df.tar.bz2
aports-c5d8cfdc4a5a1b5303475627fd265422dc1887df.tar.xz
main/e2fsprogs: fix build on uclibc
also include stdint.h to get the standard types
Diffstat (limited to 'main/e2fsprogs/fix_uint64_t.patch')
-rw-r--r--main/e2fsprogs/fix_uint64_t.patch15
1 files changed, 12 insertions, 3 deletions
diff --git a/main/e2fsprogs/fix_uint64_t.patch b/main/e2fsprogs/fix_uint64_t.patch
index 8433e11ab..0d26f4fa5 100644
--- a/main/e2fsprogs/fix_uint64_t.patch
+++ b/main/e2fsprogs/fix_uint64_t.patch
@@ -1,6 +1,15 @@
---- e2fsprogs-1.42.8.orig/lib/ext2fs/unix_io.c
-+++ e2fsprogs-1.42.8/lib/ext2fs/unix_io.c
-@@ -931,10 +931,10 @@
+diff -ru e2fsprogs-1.42.8.orig/lib/ext2fs/unix_io.c e2fsprogs-1.42.8/lib/ext2fs/unix_io.c
+--- e2fsprogs-1.42.8.orig/lib/ext2fs/unix_io.c 2013-09-27 17:26:55.203155268 +0300
++++ e2fsprogs-1.42.8/lib/ext2fs/unix_io.c 2013-09-27 17:27:27.782978767 +0300
+@@ -23,6 +23,7 @@
+
+ #include "config.h"
+ #include <stdio.h>
++#include <stdint.h>
+ #include <string.h>
+ #if HAVE_UNISTD_H
+ #include <unistd.h>
+@@ -931,10 +932,10 @@
if (channel->flags & CHANNEL_FLAGS_BLOCK_DEVICE) {
#ifdef BLKDISCARD