epel9
Tom Callaway 17 years ago
parent 98c8d43cb7
commit 7ce2420593

@ -0,0 +1,28 @@
diff -up ntfs-3g-1.2216/src/ntfs-3g.c.BAD ntfs-3g-1.2216/src/ntfs-3g.c
--- ntfs-3g-1.2216/src/ntfs-3g.c.BAD 2008-02-27 11:40:33.000000000 -0500
+++ ntfs-3g-1.2216/src/ntfs-3g.c 2008-02-27 13:17:57.000000000 -0500
@@ -1947,10 +1947,11 @@ static int parse_options(int argc, char
{
int c;
- static const char *sopt = "-o:hv";
+ static const char *sopt = "-o:hnv";
static const struct option lopt[] = {
{ "options", required_argument, NULL, 'o' },
{ "help", no_argument, NULL, 'h' },
+ { "nomtab", no_argument, NULL, 'n' },
{ "verbose", no_argument, NULL, 'v' },
{ NULL, 0, NULL, 0 }
};
@@ -1989,6 +1990,11 @@ static int parse_options(int argc, char
if (strappend(&opts.options, optarg))
return -1;
break;
+ case 'n':
+ /* We must handle the 'nomtab' option even if
+ * we don't use it because mount(8) passes it.
+ */
+ break;
case 'h':
usage();
exit(9);

@ -4,11 +4,12 @@
Name: ntfs-3g Name: ntfs-3g
Summary: Linux NTFS userspace driver Summary: Linux NTFS userspace driver
Version: 1.2216 Version: 1.2310
Release: 3%{?dist} Release: 1%{?dist}
License: GPLv2+ License: GPLv2+
Group: System Environment/Base Group: System Environment/Base
Source0: http://www.ntfs-3g.org/%{name}-%{version}.tgz Source0: http://www.ntfs-3g.org/%{name}-%{version}.tgz
Patch0: ntfs-3g-1.2216-nomtab.patch
URL: http://www.ntfs-3g.org/ URL: http://www.ntfs-3g.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%if %{with_externalfuse} %if %{with_externalfuse}
@ -46,6 +47,7 @@ functionality.
%prep %prep
%setup -q -n %{name}-%{version} %setup -q -n %{name}-%{version}
%patch0 -p1
%build %build
CFLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64" CFLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64"
@ -102,7 +104,8 @@ rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING CREDITS NEWS README # COPYING disappeared in 1.2310
%doc AUTHORS ChangeLog CREDITS NEWS README
/sbin/mount.ntfs /sbin/mount.ntfs
%attr(754,root,root) /sbin/mount.ntfs-3g %attr(754,root,root) /sbin/mount.ntfs-3g
/sbin/mount.ntfs-fuse /sbin/mount.ntfs-fuse
@ -121,6 +124,10 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/pkgconfig/libntfs-3g.pc %{_libdir}/pkgconfig/libntfs-3g.pc
%changelog %changelog
* Mon Mar 10 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2:1.2310-1
- update to 1.2310
- make -n a noop (bz 403291)
* Tue Feb 26 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2:1.2216-3 * Tue Feb 26 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2:1.2216-3
- rebuild against fixed gcc (PR35264, bugzilla 433546) - rebuild against fixed gcc (PR35264, bugzilla 433546)

Loading…
Cancel
Save