summaryrefslogtreecommitdiffstats
path: root/package/mtd
diff options
context:
space:
mode:
Diffstat (limited to 'package/mtd')
-rw-r--r--package/mtd/mtd-utils-largefile.patch35
-rw-r--r--package/mtd/mtd.mk2
2 files changed, 1 insertions, 36 deletions
diff --git a/package/mtd/mtd-utils-largefile.patch b/package/mtd/mtd-utils-largefile.patch
deleted file mode 100644
index 91ef7b43e..000000000
--- a/package/mtd/mtd-utils-largefile.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From 90be45c82fa8c54ceb202619024142ed3db11c14 Mon Sep 17 00:00:00 2001
-From: Peter Korsgaard <jacmet@sunsite.dk>
-Date: Wed, 3 Feb 2010 09:23:19 +0100
-Subject: [PATCH] mtd-utils: add option to not force largefile support
-
-Not all systems have largefile support (E.G. uClibc depending on config),
-so unconditionally enforcing largefile breaks the build.
-
-Work around it by adding a WITHOUT_LARGEFILE flag, similar to the existing
-WITHOUT_XATTR.
-
-Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
----
- common.mk | 5 ++++-
- 1 files changed, 4 insertions(+), 1 deletions(-)
-
-diff --git a/common.mk b/common.mk
-index 5e92b07..d704b44 100644
---- a/common.mk
-+++ b/common.mk
-@@ -12,7 +12,10 @@ WFLAGS := -Wall \
- $(call cc-option,-Wwrite-strings) \
- $(call cc-option,-Wno-sign-compare)
- CFLAGS += $(WFLAGS)
--CPPFLAGS += -D_FILE_OFFSET_BITS=64
-+
-+ifneq ($(WITHOUT_LARGEFILE), 1)
-+ CPPFLAGS += -D_FILE_OFFSET_BITS=64
-+endif
-
- DESTDIR ?= /usr/local
- PREFIX=/usr
---
-1.6.5
-
diff --git a/package/mtd/mtd.mk b/package/mtd/mtd.mk
index c57384992..58ecc87bb 100644
--- a/package/mtd/mtd.mk
+++ b/package/mtd/mtd.mk
@@ -3,7 +3,7 @@
# mtd provides jffs2 utilities
#
#############################################################
-MTD_VERSION:=1.3.1
+MTD_VERSION:=1.4.0
MTD_SOURCE:=mtd-utils-$(MTD_VERSION).tar.bz2
MTD_SITE:=ftp://ftp.infradead.org/pub/mtd-utils
ifeq ($(BR2_PACKAGE_MTD_MKFSJFFS2),y)