freebsd-ports/x11-drivers/xf86-video-geode/files/patch-src_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

11 lines
345 B
C

--- src/panel.c.orig 2019-09-20 16:17:28 UTC
+++ src/panel.c
@@ -51,7 +51,7 @@
#define PLATFORM_DORADO 1 /* Dorado + 9211 RevC */
#define PLATFORM_GX2BASED 1 /* Redcloud */
-unsigned char *XpressROMPtr;
+extern unsigned char *XpressROMPtr;
#include "pnl_init.c"
#include "pnl_bios.c"