git: 3ebb70fcf91e - stable/15 - stand: Fix build failure due to old EDK2 interface

ShengYi Hung <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.src
Message-ID <6a64d787.3bc72.42f530e5__15515.5995789514$1784993691$gmane$org@gitrepo.freebsd.org>
The branch stable/15 has been updated by aokblast:

URL: https://cgit.FreeBSD.org/src/commit/?id=3ebb70fcf91e50ef1caee178b991f709216ff9f4

commit 3ebb70fcf91e50ef1caee178b991f709216ff9f4
Author:     ShengYi Hung <[email protected]>
AuthorDate: 2026-07-25 15:27:50 +0000
Commit:     ShengYi Hung <[email protected]>
CommitDate: 2026-07-25 15:27:50 +0000

    stand: Fix build failure due to old EDK2 interface
    
    In 43b8edb320519, we change EFI_GRAPHICS_OUTPUT_PROTOCOL from
    EFI_GRAPHICS_OUTPUT. However, this patch is not MFC to stable/15. As a
    result, we need to use the old interface to prevent compile failure.
    
    Fixes: 1802f2ca7215
    Sponsored by:   The FreeBSD Foundation
---
 stand/common/gfx_fb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stand/common/gfx_fb.c b/stand/common/gfx_fb.c
index 9db7d26a0dd1..3e002e512a2c 100644
--- a/stand/common/gfx_fb.c
+++ b/stand/common/gfx_fb.c
@@ -1103,7 +1103,7 @@ gfx_fb_flush(void)
 #if defined(EFI)
 	if (gfx_state.tg_fb_type == FB_GOP && !ignore_gop_blt &&
 	    boot_services_active) {
-		EFI_GRAPHICS_OUTPUT_PROTOCOL *gop = gfx_state.tg_private;
+		EFI_GRAPHICS_OUTPUT *gop = gfx_state.tg_private;
 		EFI_TPL tpl;
 
 		assert(gop != NULL);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.