ports/x11-drivers/xf86-video-geode/files/patch-src_panel_panel.c
Niclas Zeising db0023fac1 x11-drivers/xf86-video-geode: Fix -fno-common
Fix the build of x11-drivers/xf86-video-geode when compiled with
-fno-common, which is the default with llvm 11.
While here, add license.

MFH:		2020Q3 (implicit, -fno-common fixes, ok by joenum)
2020-08-24 20:21:07 +00:00

12 lines
359 B
C

--- src/panel/panel.c.orig 2019-09-20 16:17:28 UTC
+++ src/panel/panel.c
@@ -65,7 +65,7 @@ extern unsigned long gfx_detect_video(void);
#define PLATFORM_DORADO 1 /* Dorado + 9211 RevC */
#define PLATFORM_REDCLOUD 1 /* GX2 */
-unsigned char *XpressROMPtr;
+extern unsigned char *XpressROMPtr;
#include "pnl_init.c"
#include "pnl_bios.c"