Hello community, here is the log from the commit of package parted for openSUSE:Factory checked in at 2012-10-03 09:21:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/parted (Old) and /work/SRC/openSUSE:Factory/.parted.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "parted", Maintainer is "PUzel@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/parted/parted.changes 2012-07-30 20:38:26.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.parted.new/parted.changes 2012-10-03 09:21:42.000000000 +0200 @@ -1,0 +2,6 @@ +Thu Sep 27 13:40:56 UTC 2012 - puzel@suse.com + +- add parted-workaround-windows7-gpt-implementation.patch + (bnc#781688) + +------------------------------------------------------------------- New: ---- parted-workaround-windows7-gpt-implementation.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ parted.spec ++++++ --- /var/tmp/diff_new_pack.MfWxQG/_old 2012-10-03 09:21:44.000000000 +0200 +++ /var/tmp/diff_new_pack.MfWxQG/_new 2012-10-03 09:21:44.000000000 +0200 @@ -46,6 +46,7 @@ Patch18: parted-fix-cciss-partition-naming.patch Patch19: dummy-bootcode-only-for-x86.patch Patch20: parted-stdio.h.patch +Patch21: parted-workaround-windows7-gpt-implementation.patch Requires: /sbin/udevadm BuildRequires: check-devel BuildRequires: device-mapper-devel >= 1.02.33 @@ -114,6 +115,7 @@ %patch18 -p1 %patch19 -p1 %patch20 -p1 +%patch21 -p1 %build export CFLAGS="%{optflags} `ncursesw6-config --cflags`" ++++++ parted-workaround-windows7-gpt-implementation.patch ++++++ bnc#781688 Index: parted-2.4/libparted/labels/gpt.c =================================================================== --- parted-2.4.orig/libparted/labels/gpt.c +++ parted-2.4/libparted/labels/gpt.c @@ -488,7 +488,7 @@ _has_hybrid_pmbr (const PedDevice *dev) if ((mbr.PartitionRecord[0].OSType == EFI_PMBR_OSTYPE_EFI) && (mbr.PartitionRecord[0].StartingLBA == PED_CPU_TO_LE32(1)) && - (mbr.PartitionRecord[0].SizeInLBA == PED_CPU_TO_LE32(efi_gpt_expected_size))) + ((mbr.PartitionRecord[0].SizeInLBA == PED_CPU_TO_LE32(efi_gpt_expected_size)) || (mbr.PartitionRecord[0].SizeInLBA == PED_CPU_TO_LE32(0xFFFFFFFF)))) /* pMBR is not hybrid */ has_hybrid_pmbr = 0; -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org