parent
f0b542cea1
commit
39d3495483
@ -1,21 +0,0 @@
|
||||
--- dump-0.4b37/dump/tape.c.2TB 2004-07-07 13:07:29.000000000 +0200
|
||||
+++ dump-0.4b37/dump/tape.c 2005-08-22 09:57:45.000000000 +0200
|
||||
@@ -475,10 +475,14 @@
|
||||
}
|
||||
|
||||
blks = 0;
|
||||
- if (spcl.c_type != TS_END) {
|
||||
- for (i = 0; i < spcl.c_count; i++)
|
||||
- if (spcl.c_addr[i] != 0)
|
||||
- blks++;
|
||||
+ if (spcl.c_type == TS_CLRI || spcl.c_type == TS_BITS) {
|
||||
+ blks = spcl.c_count;
|
||||
+ } else {
|
||||
+ if (spcl.c_type != TS_END) {
|
||||
+ for (i = 0; i < spcl.c_count; i++)
|
||||
+ if (spcl.c_addr[i] != 0)
|
||||
+ blks++;
|
||||
+ }
|
||||
}
|
||||
slp->count = lastspclrec + blks + 1 - spcl.c_tapea;
|
||||
slp->tapea = spcl.c_tapea;
|
||||
@ -3,7 +3,7 @@
|
||||
Summary: Programs for backing up and restoring ext2/ext3 filesystems
|
||||
Name: dump
|
||||
Version: 0.4b41
|
||||
Release: 8%{?dist}
|
||||
Release: 9%{?dist}
|
||||
License: BSD
|
||||
Group: Applications/Archiving
|
||||
URL: http://dump.sourceforge.net/
|
||||
@ -11,7 +11,6 @@ Source: dump-%{version}.tar.bz2
|
||||
Patch0: dump-selinux.patch
|
||||
Patch1: dump-dmfix.patch
|
||||
Patch2: dump-immutable.patch
|
||||
Patch3: dump-0.4b37-2TB.patch
|
||||
Patch4: dump-0.4b41-libtinfo.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||
BuildRequires: e2fsprogs-devel >= 1.18, readline-devel >= 4.2
|
||||
@ -50,7 +49,6 @@ restoring files from a backup), and tar (an archiving program).
|
||||
%patch0 -p1 -b .selinux
|
||||
%patch1 -p1 -b .dmfix
|
||||
%patch2 -p1 -b .orig
|
||||
%patch3 -p1 -b .2TB
|
||||
%patch4 -p1 -b .libtinfo
|
||||
|
||||
%build
|
||||
@ -119,6 +117,10 @@ rm -rf %{buildroot}
|
||||
%{_mandir}/man8/rmt.8*
|
||||
|
||||
%changelog
|
||||
* Fri Oct 03 2008 Adam Tkac <atkac redhat com> 0.4b41-9
|
||||
- dump-0.4b37-2TB.patch is no longer needed
|
||||
- rebuild (#464989)
|
||||
|
||||
* Mon Jun 23 2008 Adam Tkac <atkac redhat com> 0.4b41-8
|
||||
- removed compat static -> non-static symlinks (#452425)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user