From 4f7854898d7af0b2d9c73c18928e4a79e20eeedfb3c3afee32144ac0dc2bd4e9 Mon Sep 17 00:00:00 2001 From: Petr Uzel Date: Wed, 11 Aug 2010 08:54:04 +0000 Subject: [PATCH] fix bnc#630009 OBS-URL: https://build.opensuse.org/package/show/Base:System/parted?expand=0&rev=28 --- parted-type.patch | 20 ++++++++++++-------- parted.changes | 5 +++++ 2 files changed, 17 insertions(+), 8 deletions(-) diff --git a/parted-type.patch b/parted-type.patch index bf7f32c..f6f3c6d 100644 --- a/parted-type.patch +++ b/parted-type.patch @@ -9,7 +9,7 @@ Index: parted-2.3/libparted/disk.c =================================================================== --- parted-2.3.orig/libparted/disk.c 2010-05-05 18:08:38.000000000 +0200 -+++ parted-2.3/libparted/disk.c 2010-07-08 13:26:24.000000000 +0200 ++++ parted-2.3/libparted/disk.c 2010-08-11 10:45:19.000000000 +0200 @@ -2433,6 +2433,8 @@ ped_partition_flag_get_name (PedPartitio return N_("lba"); case PED_PARTITION_HPSERVICE: @@ -22,7 +22,7 @@ Index: parted-2.3/libparted/disk.c Index: parted-2.3/libparted/labels/dos.c =================================================================== --- parted-2.3.orig/libparted/labels/dos.c 2010-05-25 15:42:21.000000000 +0200 -+++ parted-2.3/libparted/labels/dos.c 2010-07-08 13:26:24.000000000 +0200 ++++ parted-2.3/libparted/labels/dos.c 2010-08-11 10:45:19.000000000 +0200 @@ -1412,6 +1412,10 @@ msdos_partition_set_flag (PedPartition* disk = part->disk; @@ -55,7 +55,7 @@ Index: parted-2.3/libparted/labels/dos.c Index: parted-2.3/parted/ui.c =================================================================== --- parted-2.3.orig/parted/ui.c 2010-05-05 18:08:38.000000000 +0200 -+++ parted-2.3/parted/ui.c 2010-07-08 13:26:24.000000000 +0200 ++++ parted-2.3/parted/ui.c 2010-08-11 10:45:19.000000000 +0200 @@ -918,6 +918,9 @@ command_line_get_integer (const char* pr NULL, 1); if (!input) @@ -69,8 +69,8 @@ Index: parted-2.3/parted/ui.c Index: parted-2.3/include/parted/disk.h =================================================================== --- parted-2.3.orig/include/parted/disk.h 2010-05-05 18:08:38.000000000 +0200 -+++ parted-2.3/include/parted/disk.h 2010-07-08 13:27:28.000000000 +0200 -@@ -69,7 +69,8 @@ enum _PedPartitionFlag { ++++ parted-2.3/include/parted/disk.h 2010-08-11 10:45:38.000000000 +0200 +@@ -69,10 +69,11 @@ enum _PedPartitionFlag { PED_PARTITION_MSFT_RESERVED=11, PED_PARTITION_BIOS_GRUB=12, PED_PARTITION_APPLE_TV_RECOVERY=13, @@ -79,11 +79,15 @@ Index: parted-2.3/include/parted/disk.h + PED_PARTITION_TYPE=15 }; #define PED_PARTITION_FIRST_FLAG PED_PARTITION_BOOT - #define PED_PARTITION_LAST_FLAG PED_PARTITION_DIAG +-#define PED_PARTITION_LAST_FLAG PED_PARTITION_DIAG ++#define PED_PARTITION_LAST_FLAG PED_PARTITION_TYPE + + enum _PedDiskTypeFeature { + PED_DISK_TYPE_EXTENDED=1, /**< supports extended partitions */ Index: parted-2.3/parted/parted.c =================================================================== ---- parted-2.3.orig/parted/parted.c 2010-07-08 13:26:06.000000000 +0200 -+++ parted-2.3/parted/parted.c 2010-07-08 13:26:24.000000000 +0200 +--- parted-2.3.orig/parted/parted.c 2010-08-11 10:45:18.000000000 +0200 ++++ parted-2.3/parted/parted.c 2010-08-11 10:45:19.000000000 +0200 @@ -1292,13 +1292,14 @@ partition_print_flags (PedPartition* par const char* name; char* res = ped_malloc(1); diff --git a/parted.changes b/parted.changes index ddaa74b..fb874e2 100644 --- a/parted.changes +++ b/parted.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Aug 11 08:45:56 UTC 2010 - puzel@novell.com + +- update parted-type.patch (bnc#630009) + ------------------------------------------------------------------- Thu Jul 8 11:43:17 UTC 2010 - puzel@novell.com