From 930031c5d10ce5c4e15979ee0547eb2399709bc7 Mon Sep 17 00:00:00 2001 From: "Alexandros C. Couloumbis" Date: Fri, 1 Oct 2010 16:39:08 +0000 Subject: tools/mtd-utils: update to mtd-utils-20101001, fix FreeBSD (and hopefully Darwin) build issues. SVN-Revision: 23169 --- tools/mtd-utils/patches/134-freebsd_loff_t.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tools/mtd-utils/patches/134-freebsd_loff_t.patch (limited to 'tools/mtd-utils/patches/134-freebsd_loff_t.patch') diff --git a/tools/mtd-utils/patches/134-freebsd_loff_t.patch b/tools/mtd-utils/patches/134-freebsd_loff_t.patch new file mode 100644 index 0000000000..805e5ff027 --- /dev/null +++ b/tools/mtd-utils/patches/134-freebsd_loff_t.patch @@ -0,0 +1,13 @@ +--- a/include/mtd/mtd-abi.h ++++ b/include/mtd/mtd-abi.h +@@ -98,8 +98,8 @@ + #define MEMGETREGIONINFO _IOWR('M', 8, struct region_info_user) + #define MEMSETOOBSEL _IOW('M', 9, struct nand_oobinfo) + #define MEMGETOOBSEL _IOR('M', 10, struct nand_oobinfo) +-#define MEMGETBADBLOCK _IOW('M', 11, __kernel_loff_t) +-#define MEMSETBADBLOCK _IOW('M', 12, __kernel_loff_t) ++#define MEMGETBADBLOCK _IOW('M', 11, loff_t) ++#define MEMSETBADBLOCK _IOW('M', 12, loff_t) + #define OTPSELECT _IOR('M', 13, int) + #define OTPGETREGIONCOUNT _IOW('M', 14, int) + #define OTPGETREGIONINFO _IOW('M', 15, struct otp_info) -- cgit v1.2.3