Browse Source

system/rEFInd: Updated for version 0.14.2.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
pull/198/head
Zhu Qun-Ying 3 years ago
committed by Willy Sudiarto Raharjo
parent
commit
504b0749bd
No known key found for this signature in database GPG Key ID: 3F617144D7238786
  1. 6
      system/rEFInd/rEFInd.SlackBuild
  2. 6
      system/rEFInd/rEFInd.info
  3. 51
      system/rEFInd/refind-0.13.2-gnuefi-3.0.14.patch

6
system/rEFInd/rEFInd.SlackBuild

@ -2,7 +2,7 @@
# Slackware build script for refind
# Copyright 2020 Zhu Qun-Ying All rights reserved.
# Copyright 2020-2023 Zhu Qun-Ying All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=rEFInd
SRCNAME=refind
VERSION=${VERSION:-0.13.3.1}
VERSION=${VERSION:-0.14.0.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -73,8 +73,6 @@ else
fi
sed -i '/^EFICRT0/ s/$/\/gnuefi/' Make.common
sed -i 's|no-strict-aliasing|no-strict-aliasing -fno-tree-loop-distribute-patterns|' Make.common
make -j1 all_gnuefi
REFIND_SHARE_DIR=$PKG/usr/share/$PRGNAM-$VERSION
mkdir -p $PKG/usr/sbin

6
system/rEFInd/rEFInd.info

@ -1,8 +1,8 @@
PRGNAM="rEFInd"
VERSION="0.13.3.1"
VERSION="0.14.0.2"
HOMEPAGE="http://www.rodsbooks.com/refind/index.html"
DOWNLOAD="http://sourceforge.net/projects/refind/files/0.13.3.1/refind-src-0.13.3.1.tar.gz"
MD5SUM="0463c04675bc8f312d7fa83c41959a42"
DOWNLOAD="http://sourceforge.net/projects/refind/files/0.14.0.2/refind-src-0.14.0.2.tar.gz"
MD5SUM="a458eae2fff7fc07333760e7485ca3dd"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""

51
system/rEFInd/refind-0.13.2-gnuefi-3.0.14.patch

@ -1,51 +0,0 @@
https://bugs.gentoo.org/810907
https://sources.debian.org/patches/refind/0.13.2-1/gnu-efi.patch/
Origin: https://sourceforge.net/p/refind/code/ci/10f838a4cd132a5595acaf3c54c15782151a61df
Applied-Upstream: 0.13.3
From 10f838a4cd132a5595acaf3c54c15782151a61df Mon Sep 17 00:00:00 2001
From: Rod Smith <rodsmith@rodsbooks.com>
Date: Sat, 23 Oct 2021 10:17:23 -0400
Subject: [PATCH] Fix compile problems with recent GNU-EFI versions
---
EfiLib/DevicePathUtilities.h | 13 -------------
EfiLib/gnuefi-helper.c | 1 -
NEWS.txt | 3 +++
include/version.h | 2 +-
4 files changed, 4 insertions(+), 15 deletions(-)
diff --git a/EfiLib/DevicePathUtilities.h b/EfiLib/DevicePathUtilities.h
index b559671..14ed797 100644
--- a/EfiLib/DevicePathUtilities.h
+++ b/EfiLib/DevicePathUtilities.h
@@ -217,17 +217,4 @@ EFIAPI
--*/
;
-typedef struct {
- EFI_DEVICE_PATH_UTILS_GET_DEVICE_PATH_SIZE GetDevicePathSize;
- EFI_DEVICE_PATH_UTILS_DUP_DEVICE_PATH DuplicateDevicePath;
- EFI_DEVICE_PATH_UTILS_APPEND_PATH AppendDevicePath;
- EFI_DEVICE_PATH_UTILS_APPEND_NODE AppendDeviceNode;
- EFI_DEVICE_PATH_UTILS_APPEND_INSTANCE AppendDevicePathInstance;
- EFI_DEVICE_PATH_UTILS_GET_NEXT_INSTANCE GetNextDevicePathInstance;
- EFI_DEVICE_PATH_UTILS_IS_MULTI_INSTANCE IsDevicePathMultiInstance;
- EFI_DEVICE_PATH_UTILS_CREATE_NODE CreateDeviceNode;
-} EFI_DEVICE_PATH_UTILITIES_PROTOCOL;
-
-extern EFI_GUID gEfiDevicePathUtilitiesProtocolGuid;
-
#endif
diff --git a/EfiLib/gnuefi-helper.c b/EfiLib/gnuefi-helper.c
index 246c261..8730403 100644
--- a/EfiLib/gnuefi-helper.c
+++ b/EfiLib/gnuefi-helper.c
@@ -20,7 +20,6 @@
#include "refit_call_wrapper.h"
#include "LegacyBios.h"
-EFI_GUID gEfiDevicePathUtilitiesProtocolGuid = { 0x09576E91, 0x6D3F, 0x11D2, { 0x8E, 0x39, 0x00, 0xA0, 0xC9, 0x69, 0x72, 0x3B }};
EFI_GUID gEfiLegacyBiosProtocolGuid = { 0xdb9a1e3d, 0x45cb, 0x4abb, { 0x85, 0x3b, 0xe5, 0x38, 0x7f, 0xdb, 0x2e, 0x2d }};
/**
Loading…
Cancel
Save