summaryrefslogtreecommitdiff
path: root/libraries/efivar/efivar.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/efivar/efivar.SlackBuild')
-rw-r--r--libraries/efivar/efivar.SlackBuild7
1 files changed, 5 insertions, 2 deletions
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 \