summaryrefslogtreecommitdiff
path: root/pcr/xf86-video-fbturbo-git/0002-GCC-8-fix.patch
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2020-07-08 15:47:42 -0400
committerDavid P <megver83@parabola.nu>2020-07-08 15:47:42 -0400
commit8d137041af258e45c0bfb4a409c2c43a180fb2c9 (patch)
tree94feaed0340edef62d6ee37e92f6c71cb32a5cbd /pcr/xf86-video-fbturbo-git/0002-GCC-8-fix.patch
parent94a2e22b20c2b280399aa94d8011204fb93fb446 (diff)
downloadabslibre-8d137041af258e45c0bfb4a409c2c43a180fb2c9.tar.gz
abslibre-8d137041af258e45c0bfb4a409c2c43a180fb2c9.tar.bz2
abslibre-8d137041af258e45c0bfb4a409c2c43a180fb2c9.zip
updpkg: pcr/xf86-video-fbturbo-git 199.f9a6ed7-3
Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'pcr/xf86-video-fbturbo-git/0002-GCC-8-fix.patch')
-rw-r--r--pcr/xf86-video-fbturbo-git/0002-GCC-8-fix.patch34
1 files changed, 34 insertions, 0 deletions
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 <kevin@archlinuxarm.org>
+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
+