diff --git a/parted-1.9.0-dasd-fixes.patch b/parted-1.9.0-dasd-fixes.patch index 8930ee6..1c21fd7 100644 --- a/parted-1.9.0-dasd-fixes.patch +++ b/parted-1.9.0-dasd-fixes.patch @@ -434,10 +434,11 @@ diff -ur parted-1.9.0.orig/libparted/labels/dasd.c parted-1.9.0/libparted/labels static void dasd_partition_destroy (PedPartition* part) { -@@ -650,8 +662,9 @@ +@@ -650,9 +662,9 @@ + static PedAlignment* dasd_get_partition_alignment(const PedDisk *disk) { - DasdDiskSpecific* disk_specific = disk->disk_specific; +- DasdDiskSpecific* disk_specific = disk->disk_specific; + LinuxSpecific *arch_specific = LINUX_SPECIFIC(disk->dev); PedSector sector_size = - disk_specific->real_sector_size / disk->dev->sector_size; diff --git a/parted.spec b/parted.spec index 36bd54f..56bb618 100644 --- a/parted.spec +++ b/parted.spec @@ -4,7 +4,7 @@ Summary: The GNU disk partition manipulation program Name: parted Version: 1.9.0 -Release: 20%{?dist} +Release: 21%{?dist} License: GPLv3+ Group: Applications/System URL: http://www.gnu.org/software/parted @@ -147,6 +147,9 @@ fi %{_exec_prefix}/%{_lib}/pkgconfig/libparted.pc %changelog +* Fri Nov 6 2009 Hans de Goede 1.9.0-21 +- Fix a compiler warning which is causing build errors (#532425) + * Tue Nov 3 2009 Hans de Goede 1.9.0-20 - Fix error when creating a fresh dasd disk (#532425) - Rewrite dasd disk duplication patches, as the old old ones conflicted