summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2018-07-21 11:30:30 +1200
committerAndrew Clemons <andrew.clemons@gmail.com>2018-07-21 11:32:35 +1200
commit3ed6e1f9451db1f8f3c09c40d30be73b5115cdf3 (patch)
treeee9083ed8258f0a03c9792bd83607c5d0c38795a
parentf81e6cf306e8f51962f48df838f993314ea476c4 (diff)
downloadslackbuilds-3ed6e1f9451db1f8f3c09c40d30be73b5115cdf3.tar.gz
system/fwupdate: Updated for version 12.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
-rw-r--r--system/fwupdate/fwupdate.SlackBuild6
-rw-r--r--system/fwupdate/fwupdate.info6
-rw-r--r--system/fwupdate/patches/7b593644bebe63cf73233e835c18d7bbdb8d063f.patch30
3 files changed, 4 insertions, 38 deletions
diff --git a/system/fwupdate/fwupdate.SlackBuild b/system/fwupdate/fwupdate.SlackBuild
index 0cf442e001..682bce6a05 100644
--- a/system/fwupdate/fwupdate.SlackBuild
+++ b/system/fwupdate/fwupdate.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=fwupdate
-VERSION=${VERSION:-11}
+VERSION=${VERSION:-12}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -63,10 +63,6 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
-for sha1 in 7b593644bebe63cf73233e835c18d7bbdb8d063f ; do
- patch -p1 < $CWD/patches/$sha1.patch
-done
-
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
diff --git a/system/fwupdate/fwupdate.info b/system/fwupdate/fwupdate.info
index 88edec9100..9ac7f3947a 100644
--- a/system/fwupdate/fwupdate.info
+++ b/system/fwupdate/fwupdate.info
@@ -1,8 +1,8 @@
PRGNAM="fwupdate"
-VERSION="11"
+VERSION="12"
HOMEPAGE="https://github.com/rhboot/fwupdate"
-DOWNLOAD="https://github.com/rhboot/fwupdate/archive/11/fwupdate-11.tar.gz"
-MD5SUM="4a0ce7eb1ab55dc5c49d865b94f79003"
+DOWNLOAD="https://github.com/rhboot/fwupdate/archive/12/fwupdate-12.tar.gz"
+MD5SUM="834e421b6aa3206358907e68fb1223c2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="efivar libsmbios"
diff --git a/system/fwupdate/patches/7b593644bebe63cf73233e835c18d7bbdb8d063f.patch b/system/fwupdate/patches/7b593644bebe63cf73233e835c18d7bbdb8d063f.patch
deleted file mode 100644
index f5cff32ad3..0000000000
--- a/system/fwupdate/patches/7b593644bebe63cf73233e835c18d7bbdb8d063f.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From 7b593644bebe63cf73233e835c18d7bbdb8d063f Mon Sep 17 00:00:00 2001
-From: Mario Limonciello <mario.limonciello@dell.com>
-Date: Thu, 19 Apr 2018 09:28:44 -0500
-Subject: [PATCH] efi/fwupdate.c Correct a typographical error
-
-gcc -Og -g3 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fpic -Werror -Wall -Wextra -fshort-wchar -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check --std=gnu11 -DCONFIG_x86_64 -I/usr/include/efi/ -I/usr/include/efi/x86_64/ -iquote/build/include "-DDEBUGDIR=L\"/\"" -mno-mmx -mno-sse -mno-red-zone -nostdinc -maccumulate-outgoing-args -DEFI_FUNCTION_WRAPPER -DGNU_EFI_USE_MS_ABI -I/usr/lib/gcc/x86_64-linux-gnu/7/include -c -o fwupdate.o fwupdate.c
-fwupdate.c: In function 'msleep':
-fwupdate.c:54:2: error: 'gBS' undeclared (first use in this function); did you mean 'BS'?
- gBS->Stall(msecs);
- ^~~
- BS
-fwupdate.c:54:2: note: each undeclared identifier is reported only once for each function it appears in
-/build/efi/Makefile:113: recipe for target 'fwupdate.o' failed
----
- efi/fwupdate.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/efi/fwupdate.c b/efi/fwupdate.c
-index 464a226..35c9266 100644
---- a/efi/fwupdate.c
-+++ b/efi/fwupdate.c
-@@ -51,7 +51,7 @@ static int debugging;
- static VOID
- msleep(unsigned long msecs)
- {
-- gBS->Stall(msecs);
-+ BS->Stall(msecs);
- }
-
-