From 8d137041af258e45c0bfb4a409c2c43a180fb2c9 Mon Sep 17 00:00:00 2001 From: David P Date: Wed, 8 Jul 2020 15:47:42 -0400 Subject: updpkg: pcr/xf86-video-fbturbo-git 199.f9a6ed7-3 Signed-off-by: David P --- pcr/xf86-video-fbturbo-git/0002-GCC-8-fix.patch | 34 +++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 pcr/xf86-video-fbturbo-git/0002-GCC-8-fix.patch (limited to 'pcr/xf86-video-fbturbo-git/0002-GCC-8-fix.patch') diff --git a/pcr/xf86-video-fbturbo-git/0002-GCC-8-fix.patch b/pcr/xf86-video-fbturbo-git/0002-GCC-8-fix.patch new file mode 100644 index 000000000..c7e01ad77 --- /dev/null +++ b/pcr/xf86-video-fbturbo-git/0002-GCC-8-fix.patch @@ -0,0 +1,34 @@ +From b0110d28c675dfc68ae8567c0b1712b187c7e61a Mon Sep 17 00:00:00 2001 +From: Kevin Mihelich +Date: Thu, 17 May 2018 12:53:53 -0600 +Subject: [PATCH 2/2] GCC 8 fix + +--- + src/fbdev.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/fbdev.c b/src/fbdev.c +index 23ec855..76ca968 100644 +--- a/src/fbdev.c ++++ b/src/fbdev.c +@@ -1093,7 +1093,7 @@ FBDevScreenInit(SCREEN_INIT_ARGS_DECL) + fPtr->CloseScreen = pScreen->CloseScreen; + pScreen->CloseScreen = FBDevCloseScreen; + +-#if XV ++#ifdef XV + fPtr->SunxiVideo_private = NULL; + if (xf86ReturnOptValBool(fPtr->Options, OPTION_XV_OVERLAY, TRUE) && + fPtr->sunxi_disp_private) { +@@ -1183,7 +1183,7 @@ FBDevCloseScreen(CLOSE_SCREEN_ARGS_DECL) + fPtr->SunxiDispHardwareCursor_private = NULL; + } + +-#if XV ++#ifdef XV + if (fPtr->SunxiVideo_private) { + SunxiVideo_Close(pScreen); + free(fPtr->SunxiVideo_private); +-- +2.16.2 + -- cgit v1.2.3