diff --git a/gnu-efi-add-missing-unions.patch b/gnu-efi-add-missing-unions.patch new file mode 100644 index 0000000..a46ff2b --- /dev/null +++ b/gnu-efi-add-missing-unions.patch @@ -0,0 +1,34 @@ +From fbcdcf56e84232421873169ef41d554ba9c67cd8 Mon Sep 17 00:00:00 2001 +From: Nigel Croxon +Date: Wed, 19 Aug 2015 07:28:45 -0400 +Subject: [PATCH] Add the missing URI device path to the unions. + +Signed-off-by: Gary Ching-Pang Lin +SIgned-off-by: Nigel Croxon +--- + inc/efidevp.h | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/inc/efidevp.h b/inc/efidevp.h +index 38923d9..b20c839 100644 +--- a/inc/efidevp.h ++++ b/inc/efidevp.h +@@ -491,6 +491,7 @@ typedef union { + MAC_ADDR_DEVICE_PATH MacAddr; + IPv4_DEVICE_PATH Ipv4; + IPv6_DEVICE_PATH Ipv6; ++ URI_DEVICE_PATH Uri; + INFINIBAND_DEVICE_PATH InfiniBand; + UART_DEVICE_PATH Uart; + +@@ -525,6 +526,7 @@ typedef union { + MAC_ADDR_DEVICE_PATH *MacAddr; + IPv4_DEVICE_PATH *Ipv4; + IPv6_DEVICE_PATH *Ipv6; ++ URI_DEVICE_PATH *Uri; + INFINIBAND_DEVICE_PATH *InfiniBand; + UART_DEVICE_PATH *Uart; + +-- +2.7.1 + diff --git a/gnu-efi.changes b/gnu-efi.changes index f0cfd4d..9216d53 100644 --- a/gnu-efi.changes +++ b/gnu-efi.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 26 07:12:02 UTC 2016 - glin@suse.com + +- Add gnu-efi-add-missing-unions.patch to add the missing URI + entries in EFI_DEV_PATH and EFI_DEV_PATH_PTR + ------------------------------------------------------------------- Tue Aug 18 04:24:16 UTC 2015 - glin@suse.com diff --git a/gnu-efi.spec b/gnu-efi.spec index 5f242c1..49b86bd 100644 --- a/gnu-efi.spec +++ b/gnu-efi.spec @@ -1,7 +1,7 @@ # # spec file for package gnu-efi # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,6 +25,7 @@ Group: Development/Libraries/Other Url: http://sourceforge.net/projects/gnu-efi Source: http://sourceforge.net/projects/gnu-efi/files/gnu-efi-%{version}.tar.bz2 Source1: %{name}-rpmlintrc +Patch1: gnu-efi-add-missing-unions.patch BuildRequires: kernel-source BuildRoot: %{_tmppath}/%{name}-%{version}-build ExclusiveArch: ia64 %ix86 x86_64 aarch64 %arm @@ -36,6 +37,7 @@ environment. %prep %setup -q +%patch1 -p1 %build ##########################