From dcadff104ce33b64260ba28915c35476424c3f3a Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Fri, 24 Aug 2007 17:15:34 +0000 Subject: [PATCH] Bump to 1.810 --- ntfs-3g-1.810-glibc27-open.patch | 12 ++++++++++++ ntfs-3g.spec | 11 +++++++++-- 2 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 ntfs-3g-1.810-glibc27-open.patch diff --git a/ntfs-3g-1.810-glibc27-open.patch b/ntfs-3g-1.810-glibc27-open.patch new file mode 100644 index 0000000..6cb765a --- /dev/null +++ b/ntfs-3g-1.810-glibc27-open.patch @@ -0,0 +1,12 @@ +diff -up ntfs-3g-1.810/libntfs-3g/volume.c.BAD ntfs-3g-1.810/libntfs-3g/volume.c +--- ntfs-3g-1.810/libntfs-3g/volume.c.BAD 2007-08-24 13:05:27.000000000 -0400 ++++ ntfs-3g-1.810/libntfs-3g/volume.c 2007-08-24 13:05:39.000000000 -0400 +@@ -457,7 +457,7 @@ ntfs_volume *ntfs_volume_startup(struct + if (flags & MS_NOATIME) + NVolSetNoATime(vol); + ntfs_log_debug("Reading bootsector... "); +- if (dev->d_ops->open(dev, NVolReadOnly(vol) ? O_RDONLY: O_RDWR)) { ++ if ((dev->d_ops->open)(dev, NVolReadOnly(vol) ? O_RDONLY: O_RDWR)) { + ntfs_log_debug(FAILED); + ntfs_log_perror("Error opening partition device"); + goto error_exit; diff --git a/ntfs-3g.spec b/ntfs-3g.spec index a628ce3..ae136d4 100644 --- a/ntfs-3g.spec +++ b/ntfs-3g.spec @@ -1,8 +1,8 @@ Name: ntfs-3g Summary: Linux NTFS userspace driver -Version: 1.710 +Version: 1.810 Release: 1%{?dist} -License: GPL +License: GPLv2+ Group: System Environment/Base Source0: http://www.ntfs-3g.org/%{name}-%{version}.tgz URL: http://www.ntfs-3g.org/ @@ -13,6 +13,7 @@ Epoch: 2 Provides: ntfsprogs-fuse = %{epoch}:%{version}-%{release} Obsoletes: ntfsprogs-fuse Provides: fuse-ntfs-3g = %{epoch}:%{version}-%{release} +Patch0: ntfs-3g-1.810-glibc27-open.patch %description The ntfs-3g driver is an open source, GPL licensed, third generation @@ -39,6 +40,7 @@ functionality. %prep %setup -q +%patch0 -p1 %build %configure --disable-static --disable-ldconfig --exec-prefix=/ --bindir=/bin --libdir=/%{_lib} @@ -96,6 +98,11 @@ rm -rf $RPM_BUILD_ROOT /%{_lib}/libntfs-3g.so %changelog +* Fri Aug 24 2007 Tom "spot" Callaway 2:1.810-1 +- bump to 1.810 +- fix license tag +- rebuild for ppc32 + * Sun Jul 22 2007 Tom "spot" Callaway 2:1.710-1 - bump to 1.710 - add compat symlinks