summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 \