aboutsummaryrefslogtreecommitdiff
path: root/sysutils/u-boot-pine64
diff options
context:
space:
mode:
authorBrad Davis <brd@FreeBSD.org>2016-06-28 20:18:25 +0000
committerBrad Davis <brd@FreeBSD.org>2016-06-28 20:18:25 +0000
commitfd0d2dc71fbe6b8478d7bab306898c5eef8cb1f7 (patch)
tree84766fa627b0f177ee4b48c1bac9d6e9129b93c0 /sysutils/u-boot-pine64
parentafbf62a98a315dc79160c823ee4714bc9dbd28fb (diff)
downloadports-fd0d2dc71fbe6b8478d7bab306898c5eef8cb1f7.tar.gz
ports-fd0d2dc71fbe6b8478d7bab306898c5eef8cb1f7.zip
Notes
Diffstat (limited to 'sysutils/u-boot-pine64')
-rw-r--r--sysutils/u-boot-pine64/Makefile1
-rw-r--r--sysutils/u-boot-pine64/files/patch-lib_efi__loader_efi__console.c12
2 files changed, 13 insertions, 0 deletions
diff --git a/sysutils/u-boot-pine64/Makefile b/sysutils/u-boot-pine64/Makefile
index 8a97b33191fb..2aacf452d6d5 100644
--- a/sysutils/u-boot-pine64/Makefile
+++ b/sysutils/u-boot-pine64/Makefile
@@ -2,6 +2,7 @@
PORTNAME= u-boot
PORTVERSION= 2016.05
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.denx.de/pub/u-boot/:uboot \
http://download.opensuse.org/repositories/devel:/ARM:/Factory:/Contrib:/Pine64/standard/src/:firmware
diff --git a/sysutils/u-boot-pine64/files/patch-lib_efi__loader_efi__console.c b/sysutils/u-boot-pine64/files/patch-lib_efi__loader_efi__console.c
new file mode 100644
index 000000000000..7d5a19e5a9d9
--- /dev/null
+++ b/sysutils/u-boot-pine64/files/patch-lib_efi__loader_efi__console.c
@@ -0,0 +1,12 @@
+--- lib/efi_loader/efi_console.c
++++ lib/efi_loader/efi_console.c
+@@ -167,6 +167,9 @@ static efi_status_t EFIAPI efi_cout_query_mode(
+ {
+ EFI_ENTRY("%p, %ld, %p, %p", this, mode_number, columns, rows);
+
++ if (mode_number != 0)
++ return EFI_EXIT(EFI_INVALID_PARAMETER);
++
+ if (!console_size_queried) {
+ /* Ask the terminal about its size */
+ int n[3];