10 Commits

Author SHA1 Message Date
Daniel Baumann
2d4f18457e Applying Fedoras dosfstools-2.11-assumeKernel26.patch from Peter Vrabec
<pvrabec@redhat.com> to remove linux 2.6 conditionals:

  * LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0) does not work with
    glibc-kernheaders-2.4-9.1.94

Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
2013-01-23 12:49:59 +01:00
Daniel Baumann
3b6a8634f4 Applying Debians 13-getopt.dpatch from Adonikam Virgo
<adonikam@virgonet.org> to fix mkdosfs getopt:

  * Fixes backup sector getopt (Closes: #232387, #479794).

Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
2013-01-23 12:49:54 +01:00
Daniel Baumann
06bd6697f3 Applying Debians 10-manpage-synopsis.dpatch from Daniel Baumann
<daniel@debian.org> to fix manpage synopsis:

  * List alternative binary names in manpage synopsis (Closes: #284983).

Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
2013-01-23 12:49:37 +01:00
Daniel Baumann
42d340d056 Applying Debians 09-manpage-fat32.dpatch from Daniel Baumann
<daniel@debian.org> to improve mkdosfs manpage:

  * Don't claim that FAT32 is not choosed automatically (Closes:
    #414183).

Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
2013-01-23 12:49:34 +01:00
Daniel Baumann
8ec54ddfee Applying Debians 07-manpage-spelling.dpatch from Justin Pryzby
<justinpryzby@users.sourceforge.net> to fix mkdosfs manpage typos.

Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
2013-01-23 12:49:30 +01:00
Daniel Baumann
4371588cfa Applying Suses dosfstools-2.11_determine-sector-size.patch from Petr
Gajdos <pgajdos@suse.cz> to determine mkdosfs sector size automatically:

  * determine sector size of device automatically or if -S parameter
    present, verify, that it's not under physical sector size

Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
2013-01-23 12:49:29 +01:00
Daniel Baumann
fc92e197f8 Applying Suses dosfstools-2.11-o_excl.patch from Pavol Rusnak
<prusnak@suse.cz> to use O_EXCL in mkdosfs:

  * mkdosfs now opens device with O_EXCL [#238687]

Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
2013-01-23 12:49:27 +01:00
Daniel Baumann
07ef487247 Applying Fedoras dosfstools-2.11-fortify.patch from Jakub Jelinek
<jakub@redhat.com> to make it build with -D_FORTIFY_SOURCE=2:

  * This violates -D_FORTIFY_SOURCE=2 (which is stricter than C
    standard), but isn't actually any buffer overflow. But using memcpy
    is more efficient anyway.

Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
2013-01-23 12:49:20 +01:00
Daniel Baumann
78f9dca40b Applying Fedoras dosfstools-2.7-argfix.patch (no other information
available).

Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
2013-01-23 12:49:06 +01:00
Daniel Baumann
ba6774ae1d Adding version 2.11.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
2013-01-23 12:46:45 +01:00