svn commit: r417750 - in head/sysutils/u-boot-pine64: . files
Brad Davis
brd at FreeBSD.org
Tue Jun 28 20:18:27 UTC 2016
Author: brd
Date: Tue Jun 28 20:18:25 2016
New Revision: 417750
URL: https://svnweb.freebsd.org/changeset/ports/417750
Log:
In sysutils/u-boot-pine64, fix booting with boot1.efi.
Submitted by: andrew
Approved by: bdrewery (implicit)
Added:
head/sysutils/u-boot-pine64/files/patch-lib_efi__loader_efi__console.c (contents, props changed)
Modified:
head/sysutils/u-boot-pine64/Makefile
Modified: head/sysutils/u-boot-pine64/Makefile
==============================================================================
--- head/sysutils/u-boot-pine64/Makefile Tue Jun 28 19:30:28 2016 (r417749)
+++ head/sysutils/u-boot-pine64/Makefile Tue Jun 28 20:18:25 2016 (r417750)
@@ -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
Added: head/sysutils/u-boot-pine64/files/patch-lib_efi__loader_efi__console.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/u-boot-pine64/files/patch-lib_efi__loader_efi__console.c Tue Jun 28 20:18:25 2016 (r417750)
@@ -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];
More information about the svn-ports-head
mailing list