From dbadbc6663a4015938d42d7159d4c891380846834369711d27be7005c58748cb Mon Sep 17 00:00:00 2001 From: Petr Gajdos Date: Mon, 3 Jun 2013 13:52:42 +0000 Subject: [PATCH] - update to 3.0.17: * Fixing segfault in dosfslabel. * Allow operation on SH4 CPUs. * Finish cleanup of byteswap code. * Fix offsetof definition. * etc., see ChangeLog - refreshed ppc-reserved-sectors-fix.patch OBS-URL: https://build.opensuse.org/package/show/Base:System/dosfstools?expand=0&rev=37 --- dosfstools-3.0.17.tar.xz | 3 +++ dosfstools.changes | 11 +++++++++++ dosfstools.spec | 6 +++--- dosfstools_3.0.16.orig.tar.xz | 3 --- ppc-reserved-sectors-fix.patch | 10 +++++----- 5 files changed, 22 insertions(+), 11 deletions(-) create mode 100644 dosfstools-3.0.17.tar.xz delete mode 100644 dosfstools_3.0.16.orig.tar.xz diff --git a/dosfstools-3.0.17.tar.xz b/dosfstools-3.0.17.tar.xz new file mode 100644 index 0000000..954f585 --- /dev/null +++ b/dosfstools-3.0.17.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9dade6b7c8ef06f7d679fcdc4524aa332ec7929837874b51c9bd490fbd4cb29f +size 73496 diff --git a/dosfstools.changes b/dosfstools.changes index 7cd7507..a668235 100644 --- a/dosfstools.changes +++ b/dosfstools.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Mon Jun 3 13:44:15 UTC 2013 - pgajdos@suse.com + +- update to 3.0.17: + * Fixing segfault in dosfslabel. + * Allow operation on SH4 CPUs. + * Finish cleanup of byteswap code. + * Fix offsetof definition. + * etc., see ChangeLog +- refreshed ppc-reserved-sectors-fix.patch + ------------------------------------------------------------------- Mon Mar 25 15:24:47 UTC 2013 - mmeister@suse.com diff --git a/dosfstools.spec b/dosfstools.spec index 236a917..6f07983 100644 --- a/dosfstools.spec +++ b/dosfstools.spec @@ -22,10 +22,10 @@ Provides: mkdosfs Summary: Utilities for Making and Checking MS-DOS FAT File Systems on Linux License: GPL-3.0+ Group: System/Filesystems -Version: 3.0.16 +Version: 3.0.17 Release: 0 -Url: http://freshmeat.net/projects/dosfstools -Source: http://ftp.de.debian.org/debian/pool/main/d/%{name}/%{name}_%{version}.orig.tar.xz +Url: http://daniel-baumann.ch/software/dosfstools/ +Source: http://daniel-baumann.ch/files/software/dosfstools/dosfstools-%{version}.tar.xz Patch0: %{name}-suse-dirs.patch # workaround for # https://bugs.launchpad.net/ubuntu/+source/dosfstools/+bug/746262 diff --git a/dosfstools_3.0.16.orig.tar.xz b/dosfstools_3.0.16.orig.tar.xz deleted file mode 100644 index 2e82864..0000000 --- a/dosfstools_3.0.16.orig.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:450b422d89a305bcca76b1af076c51944a5cc0f1707727ee8ef64e969dd4e956 -size 72424 diff --git a/ppc-reserved-sectors-fix.patch b/ppc-reserved-sectors-fix.patch index f084a9d..05dac87 100644 --- a/ppc-reserved-sectors-fix.patch +++ b/ppc-reserved-sectors-fix.patch @@ -1,13 +1,13 @@ -Index: dosfstools-3.0.15/src/mkdosfs.c +Index: dosfstools-3.0.17/src/mkdosfs.c =================================================================== ---- dosfstools-3.0.15.orig/src/mkdosfs.c -+++ dosfstools-3.0.15/src/mkdosfs.c -@@ -1016,7 +1016,7 @@ static void setup_tables(void) +--- dosfstools-3.0.17.orig/src/mkdosfs.c ++++ dosfstools-3.0.17/src/mkdosfs.c +@@ -995,7 +995,7 @@ static void setup_tables(void) } /* Adjust the reserved number of sectors for alignment */ - reserved_sectors = align_object(reserved_sectors, bs.cluster_size); + /* reserved_sectors = align_object(reserved_sectors, bs.cluster_size); */ - bs.reserved = CT_LE_W(reserved_sectors); + bs.reserved = htole16(reserved_sectors); /* Adjust the number of root directory entries to help enforce alignment */