package/efibootmgr: bump version to 17
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sat, 5 Jun 2021 08:28:18 +0000 (10:28 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tue, 13 Jul 2021 20:23:55 +0000 (22:23 +0200)
Add upstream patch to fix build error:

efibootmgr.c:1541:15: error: conflicting types for ‘efi_set_verbose’
 1541 |    extern int efi_set_verbose(int verbosity, FILE *errlog);

Reformatted hashes.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/efibootmgr/0002-remove-extra-decl.patch [new file with mode: 0644]
package/efibootmgr/efibootmgr.hash
package/efibootmgr/efibootmgr.mk

diff --git a/package/efibootmgr/0002-remove-extra-decl.patch b/package/efibootmgr/0002-remove-extra-decl.patch
new file mode 100644 (file)
index 0000000..f838d50
--- /dev/null
@@ -0,0 +1,28 @@
+From 99b578501643377e0b1994b2a068b790d189d5ad Mon Sep 17 00:00:00 2001
+From: Peter Jones <pjones@redhat.com>
+Date: Wed, 13 Jun 2018 09:41:01 -0400
+Subject: [PATCH] remove extra decl
+
+Downloaded from upstream commit
+https://github.com/rhboot/efibootmgr/commit/99b578501643377e0b1994b2a068b790d189d5ad
+
+Signed-off-by: Peter Jones <pjones@redhat.com>
+Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
+---
+ src/efibootmgr.c | 3 ---
+ 1 file changed, 3 deletions(-)
+
+diff --git a/src/efibootmgr.c b/src/efibootmgr.c
+index de38f01..4e1a680 100644
+--- a/src/efibootmgr.c
++++ b/src/efibootmgr.c
+@@ -1536,9 +1536,6 @@ parse_opts(int argc, char **argv)
+                                              "invalid numeric value %s\n",
+                                              optarg);
+                       }
+-                        /* XXX efivar-36 accidentally doesn't have a public
+-                         * header for this */
+-                      extern int efi_set_verbose(int verbosity, FILE *errlog);
+                       efi_set_verbose(opts.verbose - 2, stderr);
+                       break;
+               case 'V':
index b786a415a8ba64449ac9400d41ea8d2c42463ece..fdbc9a2732a391fd98c14dd4449c4277a6213588 100644 (file)
@@ -1,3 +1,3 @@
 # locally computed hash
-sha256 5a708b9690cdc631fd75d8f598128d20cad007e711b975b0143f9517c2dd1bf4  efibootmgr-15.tar.gz
-sha256 dcc100d4161cc0b7177545ab6e47216f84857cda3843847c792a25289852dcaa  COPYING
+sha256  22a95ebe0d5c9fb2915b3a100450f8f37484d1dbb8b296f55b343cc84f10397d  efibootmgr-17.tar.gz
+sha256  dcc100d4161cc0b7177545ab6e47216f84857cda3843847c792a25289852dcaa  COPYING
index 079a9b728147a600c01208b540874a048813f294..7e09b5f659139649fad9cf5a245a46ee6bb1d0ba 100644 (file)
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-EFIBOOTMGR_VERSION = 15
+EFIBOOTMGR_VERSION = 17
 EFIBOOTMGR_SITE = $(call github,rhboot,efibootmgr,$(EFIBOOTMGR_VERSION))
 EFIBOOTMGR_LICENSE = GPL-2.0+
 EFIBOOTMGR_LICENSE_FILES = COPYING