Accepting request 136242 from Base:System
- add parted-workaround-windows7-gpt-implementation.patch (bnc#781688) OBS-URL: https://build.opensuse.org/request/show/136242 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/parted?expand=0&rev=81
This commit is contained in:
commit
0639c24d9e
14
parted-workaround-windows7-gpt-implementation.patch
Normal file
14
parted-workaround-windows7-gpt-implementation.patch
Normal file
@ -0,0 +1,14 @@
|
||||
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;
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 27 13:40:56 UTC 2012 - puzel@suse.com
|
||||
|
||||
- add parted-workaround-windows7-gpt-implementation.patch
|
||||
(bnc#781688)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 27 09:14:44 UTC 2012 - aj@suse.de
|
||||
|
||||
|
@ -46,6 +46,7 @@ Patch17: fix-nilfs2-probe-function.patch
|
||||
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 @@ to develop applications that require these.
|
||||
%patch18 -p1
|
||||
%patch19 -p1
|
||||
%patch20 -p1
|
||||
%patch21 -p1
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags} `ncursesw6-config --cflags`"
|
||||
|
Loading…
Reference in New Issue
Block a user