summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Andrew Clemons <andrew.clemons@gmail.com>2018-01-18 21:40:57 +1300
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2018-01-20 07:01:20 +0700
commitbd48040e2c38d180791db193941a728af90c53bc (patch)
tree230077bdda2a974091cad5ad244ae28b34ef1922
parent60dfbd1fd169c59645d4b687beb61c635c6f160c (diff)
downloadslackbuilds-bd48040e2c38d180791db193941a728af90c53bc.tar.gz
slackbuilds-bd48040e2c38d180791db193941a728af90c53bc.tar.xz
libraries/efivar: Add patch to make efi_guid_ux_capsule work.
This allows building fwupdate 10. Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
-rw-r--r--libraries/efivar/cd732494ba7685feaf71b9ee58619ca6aef39fc9.patch.gzbin0 -> 1107 bytes
-rw-r--r--libraries/efivar/efivar.SlackBuild7
2 files changed, 5 insertions, 2 deletions
diff --git a/libraries/efivar/cd732494ba7685feaf71b9ee58619ca6aef39fc9.patch.gz b/libraries/efivar/cd732494ba7685feaf71b9ee58619ca6aef39fc9.patch.gz
new file mode 100644
index 0000000000..07cd41a321
--- /dev/null
+++ b/libraries/efivar/cd732494ba7685feaf71b9ee58619ca6aef39fc9.patch.gz
Binary files differ
diff --git a/libraries/efivar/efivar.SlackBuild b/libraries/efivar/efivar.SlackBuild
index d90165b735..0983a50b56 100644
--- a/libraries/efivar/efivar.SlackBuild
+++ b/libraries/efivar/efivar.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for efivar
-# Copyright 2017 Andrew Clemons, Wellington New Zealand
+# Copyright 2017-2018 Andrew Clemons, Wellington New Zealand
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
PRGNAM=efivar
VERSION=${VERSION:-32}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -64,6 +64,9 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
+# patch to allow building latest fwupdate
+# https://github.com/rhboot/efivar/issues/96
+zcat $CWD/cd732494ba7685feaf71b9ee58619ca6aef39fc9.patch.gz | patch -p1
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \