diff options
Diffstat (limited to 'tools/e2fsprogs/patches')
-rw-r--r-- | tools/e2fsprogs/patches/003-openbsd-compat.patch | 12 | ||||
-rw-r--r-- | tools/e2fsprogs/patches/004-freebsd-compat.patch | 5 | ||||
-rw-r--r-- | tools/e2fsprogs/patches/005-darwin-compat.patch | 9 |
3 files changed, 12 insertions, 14 deletions
diff --git a/tools/e2fsprogs/patches/003-openbsd-compat.patch b/tools/e2fsprogs/patches/003-openbsd-compat.patch index 1f7cdca0e5..ded0ecad77 100644 --- a/tools/e2fsprogs/patches/003-openbsd-compat.patch +++ b/tools/e2fsprogs/patches/003-openbsd-compat.patch @@ -1,7 +1,6 @@ -diff -Nur e2fsprogs-1.42.7.orig/lib/blkid/getsize.c e2fsprogs-1.42.7/lib/blkid/getsize.c ---- e2fsprogs-1.42.7.orig/lib/blkid/getsize.c Fri Nov 30 03:40:18 2012 -+++ e2fsprogs-1.42.7/lib/blkid/getsize.c Thu Mar 7 14:21:59 2013 -@@ -26,6 +26,9 @@ +--- a/lib/blkid/getsize.c ++++ b/lib/blkid/getsize.c +@@ -25,6 +25,9 @@ #include <fcntl.h> #ifdef HAVE_SYS_IOCTL_H #include <sys/ioctl.h> @@ -11,9 +10,8 @@ diff -Nur e2fsprogs-1.42.7.orig/lib/blkid/getsize.c e2fsprogs-1.42.7/lib/blkid/g #endif #ifdef HAVE_LINUX_FD_H #include <linux/fd.h> -diff -Nur e2fsprogs-1.42.7.orig/lib/quota/mkquota.c e2fsprogs-1.42.7/lib/quota/mkquota.c ---- e2fsprogs-1.42.7.orig/lib/quota/mkquota.c Wed Jan 2 01:47:20 2013 -+++ e2fsprogs-1.42.7/lib/quota/mkquota.c Thu Mar 7 14:21:59 2013 +--- a/lib/quota/mkquota.c ++++ b/lib/quota/mkquota.c @@ -8,6 +8,7 @@ #include <sys/stat.h> #include <unistd.h> diff --git a/tools/e2fsprogs/patches/004-freebsd-compat.patch b/tools/e2fsprogs/patches/004-freebsd-compat.patch index 5eff49999e..c6435d4919 100644 --- a/tools/e2fsprogs/patches/004-freebsd-compat.patch +++ b/tools/e2fsprogs/patches/004-freebsd-compat.patch @@ -1,6 +1,5 @@ -diff -Nur e2fsprogs-1.42.7.orig/lib/ext2fs/tdb.c e2fsprogs-1.42.7/lib/ext2fs/tdb.c ---- e2fsprogs-1.42.7.orig/lib/ext2fs/tdb.c 2012-07-06 15:37:27.000000000 +0200 -+++ e2fsprogs-1.42.7/lib/ext2fs/tdb.c 2013-03-07 14:54:59.000000000 +0100 +--- a/lib/ext2fs/tdb.c ++++ b/lib/ext2fs/tdb.c @@ -56,7 +56,9 @@ #include <utime.h> #endif diff --git a/tools/e2fsprogs/patches/005-darwin-compat.patch b/tools/e2fsprogs/patches/005-darwin-compat.patch index bc81d8638a..c5d0e28c55 100644 --- a/tools/e2fsprogs/patches/005-darwin-compat.patch +++ b/tools/e2fsprogs/patches/005-darwin-compat.patch @@ -6,9 +6,9 @@ +#include <stdint.h> + + #ifndef HAVE___U8 + #define HAVE___U8 #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 @@ @@ -17,6 +17,7 @@ +#include <stdint.h> + + #ifndef HAVE___U8 + #define HAVE___U8 #ifdef __U8_TYPEDEF - typedef __U8_TYPEDEF __u8; - #else + |