summaryrefslogtreecommitdiff
path: root/system/efitools/efitools.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2019-11-17 09:32:41 +0100
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 23:20:54 -0500
commit7c4963c36a808a7b99ef57ed57636458eca918a7 (patch)
tree21d5707eb4d54676ba0cdd86ea31451dbd782dec /system/efitools/efitools.SlackBuild
parent15bed5669944168d20dda46e35f8f1eaee605c10 (diff)
downloadslackbuilds-7c4963c36a808a7b99ef57ed57636458eca918a7.tar.gz
system/efitools: Updated for version 1.9.2.
Fix a renamed function in gnu-efi Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/efitools/efitools.SlackBuild')
-rw-r--r--system/efitools/efitools.SlackBuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/system/efitools/efitools.SlackBuild b/system/efitools/efitools.SlackBuild
index b2f041bed3..825ec0279e 100644
--- a/system/efitools/efitools.SlackBuild
+++ b/system/efitools/efitools.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=efitools
-VERSION=${VERSION:-1.5.3}
+VERSION=${VERSION:-1.9.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -32,7 +32,7 @@ USE_KEYS=${USE_KEYS:-no}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -44,8 +44,8 @@ PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
# It's not safe to specify build flags since some EFI programs are built.
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
EFI_ARCH=ia32
elif [ "$ARCH" = "i686" ]; then
@@ -93,6 +93,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# https://github.com/vathpela/gnu-efi/commit/d34132e62f666904158c7ec2f1eef5a9d5281c36
+sed -i "s|EFI_WARN_UNKOWN_GLYPH|EFI_WARN_UNKNOWN_GLYPH|" lib/console.c
+
make \
CRTPATH=/usr/lib${LIBDIRSUFFIX}/gnuefi \
MYGUID=${MYGUID} \