[Frugalware-git] frugalware-current: fwupdate-10-1-x86_64

DeX77 dex77 at frugalware.org
Tue Jan 9 10:06:38 CET 2018


Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=e14e537b3e19a6184d93b02f9668304c7f66f204

commit e14e537b3e19a6184d93b02f9668304c7f66f204
Author: DeX77 <dex77 at frugalware.org>
Date:   Tue Jan 9 10:04:57 2018 +0100

fwupdate-10-1-x86_64

* version bump

diff --git a/source/apps-extra/fwupdate/0001-Fix-uninitialized-variable.patch b/source/apps-extra/fwupdate/0001-Fix-uninitialized-variable.patch
deleted file mode 100644
index 815e4e5..0000000
--- a/source/apps-extra/fwupdate/0001-Fix-uninitialized-variable.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From a9bfbb4a082c2a7e8917865877976e8008712ca6 Mon Sep 17 00:00:00 2001
-From: Mirco Tischler <mt-ml at gmx.de>
-Date: Mon, 6 Mar 2017 23:45:46 +0100
-Subject: [PATCH] Fix uninitialized variable.
-
-If boot_order_size is 0, i was never set. On gcc-6.3.1, this broke the
-build if compiled with -O2 (-Werror=maybe_uninitialized). This is the
-error:
-
-libfwup.c: In function 'set_up_boot_next':
-libfwup.c:818:16: error: 'i' may be used uninitialized in this function [-Werror=maybe-uninitialized]
-  new_boot_order[i] = boot_entry;
-                ^
-libfwup.c:780:15: note: 'i' was declared here
-  unsigned int i;
-               ^
-cc1: all warnings being treated as errors
----
- linux/libfwup.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/linux/libfwup.c b/linux/libfwup.c
-index fe4ece4..2cc03c0 100644
---- a/linux/libfwup.c
-+++ b/linux/libfwup.c
-@@ -777,7 +777,7 @@ add_to_boot_order(uint16_t boot_entry)
- 	size_t boot_order_size = 0;
- 	uint32_t attr;
- 	int rc;
--	unsigned int i;
-+	unsigned int i = 0;
-
- 	rc = efi_get_variable_size(efi_guid_global, "BootOrder",
- 				   &boot_order_size);
---
-2.12.0
-
diff --git a/source/apps-extra/fwupdate/FrugalBuild b/source/apps-extra/fwupdate/FrugalBuild
index 6ab6c1a..d1ac3d5 100644
--- a/source/apps-extra/fwupdate/FrugalBuild
+++ b/source/apps-extra/fwupdate/FrugalBuild
@@ -2,11 +2,11 @@
# Maintainer: DeX77 <dex77 at frugalware.org>

pkgname=fwupdate
-pkgver=9
+pkgver=10
pkgrel=1
pkgdesc='Tools for using the ESRT and UpdateCapsule() to apply firmware updates'
archs=('x86_64')
-depends=('efivar' 'libsmbios' 'bash')
+depends=('efivar>=32-2' 'libsmbios' 'bash')
makedepends=('pesign' 'gnu-efi')
groups=('apps-extra')
_F_github_author="rhboot"
@@ -14,9 +14,7 @@ _F_github_tag=y
Finclude github
# use custom up2date..
up2date="lynx -dump https://github.com/rhboot/fwupdate/releases | grep -om1 'fwupdate-\(.*\).tar.bz2' | sed 's/fw.*-\(.*\).tar.*/\1/'"
-source+=("0001-Fix-uninitialized-variable.patch")
-sha1sums=('68873b972eff83c360d8e50d0214e354d881f272' \
-          'adab4fe7cb8bf1da81b0a1b7a45ccdc2f3688fdc')
+sha1sums=('283be2b21f58d746d400e68c295d40b098fd5bb1')

build() {
Fcd


More information about the Frugalware-git mailing list