[oe-commits] Otavio Salvador : ntfsprogs: add 2.0.0

git version control git at git.openembedded.org
Wed Feb 23 21:09:40 UTC 2011


Module: openembedded.git
Branch: master
Commit: 4f76c0e2e440f090300197a86a94f6ec2c4922d0
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=4f76c0e2e440f090300197a86a94f6ec2c4922d0

Author: Otavio Salvador <otavio at ossystems.com.br>
Date:   Wed Feb 23 21:07:18 2011 +0000

ntfsprogs: add 2.0.0

This recipe has been imported from O.S. Systems tree and hence starts
at revision r2.

Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
Signed-off-by: Tom Rini <tom_rini at mentor.com>

---

 .../ntfsprogs/ntfsprogs/skip-erange-errors.patch   |   30 ++++++++++++++++++++
 recipes/ntfsprogs/ntfsprogs_2.0.0.bb               |   15 ++++++++++
 2 files changed, 45 insertions(+), 0 deletions(-)

diff --git a/recipes/ntfsprogs/ntfsprogs/skip-erange-errors.patch b/recipes/ntfsprogs/ntfsprogs/skip-erange-errors.patch
new file mode 100644
index 0000000..7292d77
--- /dev/null
+++ b/recipes/ntfsprogs/ntfsprogs/skip-erange-errors.patch
@@ -0,0 +1,30 @@
+diff --git a/libntfs/attrib.c b/libntfs/attrib.c
+index a1fe954..c628d9d 100644
+--- a/libntfs/attrib.c
++++ b/libntfs/attrib.c
+@@ -550,8 +550,10 @@ int ntfs_attr_map_runlist_range(ntfs_attr *na, VCN from_vcn, VCN to_vcn)
+ 		(long long)from_vcn, (long long)to_vcn);
+ 
+ 	/* Map extent with @from_vcn. */
+-	if (ntfs_attr_map_runlist(na, from_vcn))
+-		goto err_out;
++	if (ntfs_attr_map_runlist(na, from_vcn)) {
++		if (errno != ERANGE)
++			goto err_out;
++	}
+ 
+ 	for (rl = na->rl; rl->vcn <= to_vcn;) {
+ 		/* Skip not interesting to us runs. */
+@@ -4924,8 +4926,10 @@ static int ntfs_non_resident_attr_expand(ntfs_attr *na, const s64 newsize,
+ 		/* Map required part of runlist. */
+ 		if (ntfs_attr_map_runlist(na, na->allocated_size >>
+ 					vol->cluster_size_bits)) {
+-			ntfs_log_error("Failed to map runlist.\n");
+-			return -1;
++			if (errno != ERANGE) {
++				ntfs_log_error("Failed to map runlist.\n");
++				return -1;
++			}
+ 		}
+ 
+ 		/*
diff --git a/recipes/ntfsprogs/ntfsprogs_2.0.0.bb b/recipes/ntfsprogs/ntfsprogs_2.0.0.bb
new file mode 100644
index 0000000..b41985d
--- /dev/null
+++ b/recipes/ntfsprogs/ntfsprogs_2.0.0.bb
@@ -0,0 +1,15 @@
+DESCRIPTION = "NTFS utilies"
+HOMEPAGE = "http://www.linux-ntfs.org/"
+DEPENDS = "fuse"
+LICENSE = "GPLv2"
+PR = "r2"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/linux-ntfs/ntfsprogs-2.0.0.tar.bz2 \
+           file://skip-erange-errors.patch"
+
+SRC_URI[md5sum] = "2b39dece8897bc748f4ab4c40ec7699e"
+SRC_URI[sha256sum] = "ad36e19706c7303b10aa0a9bf2c2dd0309b91cd0171f1c9eb361d94a85017432"
+
+inherit autotools 
+
+EXTRA_OECONF += "--disable-gnome-vfs"





More information about the Openembedded-commits mailing list