Skip to contentSkip to conversation

package/efivar: bump version to 37

PATCH New James Hilliard 2 participants 2 messages Jun 23, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/efivar: bump version to 37

Backport patches required to build with gcc-9.

---
 .../efivar/0001-Allow-build-with-uClibc.patch |  11 +-
 ..._guid-handle-misaligned-guid-pointer.patch |  62 +++++++
 ...es-Werror-address-of-packed-member-c.patch | 174 ++++++++++++++++++
 ...r-of-Werror-address-of-packed-member.patch |  57 ++++++
 package/efivar/efivar.hash                    |   2 +-
 package/efivar/efivar.mk                      |   2 +-
 6 files changed, 300 insertions(+), 8 deletions(-)
 create mode 100644 package/efivar/0002-dp.h-make-format_guid-handle-misaligned-guid-pointer.patch
 create mode 100644 package/efivar/0003-Fix-all-the-places-Werror-address-of-packed-member-c.patch
 create mode 100644 package/efivar/0004-Fix-another-error-of-Werror-address-of-packed-member.patch
package/efivar/0001-Allow-build-with-uClibc.patch +5 -6
index 01fa9dee70..0db9955760 100644
@@ -1,4 +1,4 @@
-From 2255601757a8a58baddad2d37d0bcc6b003a3732 Mon Sep 17 00:00:00 2001
+From f1f24eb486c4376066884bae3c31f1c455a79836 Mon Sep 17 00:00:00 2001
 From: Andy Shevchenko <[email protected]>
 Date: Fri, 25 Nov 2016 19:42:27 +0200
 Subject: [PATCH] Allow build with uClibc
@@ -11,17 +11,16 @@ Signed-off-by: Andy Shevchenko <[email protected]>
  1 file changed, 7 insertions(+), 1 deletion(-)
 
 diff --git a/src/export.c b/src/export.c
-index 7f2d4dd..72c02d1 100644
+index 8321bd3..ef36add 100644
 --- a/src/export.c
 +++ b/src/export.c
-@@ -21,11 +21,17 @@
+@@ -23,10 +23,16 @@
  #include <inttypes.h>
  #include <stdint.h>
  #include <stdlib.h>
 -#include <uchar.h>
  
- #include <efivar/efivar.h>
- #include "lib.h"
+ #include "efivar.h"
  
 +#ifdef __UCLIBC__
 +typedef int_least16_t char16_t;
@@ -34,5 +33,5 @@ index 7f2d4dd..72c02d1 100644
  
  #define ATTRS_UNSET 0xa5a5a5a5a5a5a5a5
 -- 
-2.10.2
+2.20.1
 
package/efivar/0002-dp.h-make-format_guid-handle-misaligned-guid-pointer.patch new file +62 -0

62 lines not on this page · raw message

package/efivar/0003-Fix-all-the-places-Werror-address-of-packed-member-c.patch new file +174 -0

174 lines not on this page · raw message

package/efivar/0004-Fix-another-error-of-Werror-address-of-packed-member.patch new file +57 -0

57 lines not on this page · raw message

package/efivar/efivar.hash +1 -1
index 7feb5b7533..b521e08a53 100644
@@ -1,3 +1,3 @@
 # locally computed hash
-sha256 747bc4d97b4bd74979e5356c44a172534a8a07184f130349fd201742e683d292  efivar-35.tar.gz
+sha256 74c52b4f479120fb6639e753e71163ba3f557a7a67c0be225593f9f05b253f36  efivar-37.tar.gz
 sha256 91df770634adc2755e78cae33a0d01e702ce2f69046408ae93d0d934ff29691b  COPYING
package/efivar/efivar.mk +1 -1
index d96bd98d09..8708057b18 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-EFIVAR_VERSION = 35
+EFIVAR_VERSION = 37
 EFIVAR_SITE = $(call github,rhboot,efivar,$(EFIVAR_VERSION))
 EFIVAR_LICENSE = LGPL-2.1
 EFIVAR_LICENSE_FILES = COPYING
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/1 package/efivar: bump version to 37

Quoted 14 lines · On Sat, 22 Jun 2019 20:46:14 -0600 James Hilliard <[email protected]>…

Backport patches required to build with gcc-9.

---
 .../efivar/0001-Allow-build-with-uClibc.patch |  11 +-
 ..._guid-handle-misaligned-guid-pointer.patch |  62 +++++++
 ...es-Werror-address-of-packed-member-c.patch | 174 ++++++++++++++++++
 ...r-of-Werror-address-of-packed-member.patch |  57 ++++++
 package/efivar/efivar.hash                    |   2 +-
 package/efivar/efivar.mk                      |   2 +-
 6 files changed, 300 insertions(+), 8 deletions(-)
 create mode 100644 package/efivar/0002-dp.h-make-format_guid-handle-misaligned-guid-pointer.patch
 create mode 100644 package/efivar/0003-Fix-all-the-places-Werror-address-of-packed-member-c.patch
 create mode 100644 package/efivar/0004-Fix-another-error-of-Werror-address-of-packed-member.patch

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com