Date: Wed, 19 Aug 2020 08:35:52 +0000 (UTC) From: Niclas Zeising <zeising@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r545284 - branches/2020Q3/x11-drivers/xf86-video-openchrome/files Message-ID: <202008190835.07J8ZqAM076090@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: zeising Date: Wed Aug 19 08:35:52 2020 New Revision: 545284 URL: https://svnweb.freebsd.org/changeset/ports/545284 Log: MFH: r545261 x11-drivers/xf86-video-openchrome: fix -fno-common Fix the build with -fno-common, which is the default with llvm 11. Approved by: ports-secteam (joenum) Added: branches/2020Q3/x11-drivers/xf86-video-openchrome/files/patch-edb4657.c - copied unchanged from r545261, head/x11-drivers/xf86-video-openchrome/files/patch-edb4657.c Modified: Directory Properties: branches/2020Q3/ (props changed) Copied: branches/2020Q3/x11-drivers/xf86-video-openchrome/files/patch-edb4657.c (from r545261, head/x11-drivers/xf86-video-openchrome/files/patch-edb4657.c) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2020Q3/x11-drivers/xf86-video-openchrome/files/patch-edb4657.c Wed Aug 19 08:35:52 2020 (r545284, copy of r545261, head/x11-drivers/xf86-video-openchrome/files/patch-edb4657.c) @@ -0,0 +1,41 @@ +diff --git a/src/via_driver.h b/src/via_driver.h +index b01229d..bfad2ee 100644 +--- src/via_driver.h ++++ src/via_driver.h +@@ -361,8 +361,8 @@ void viaSetupDefaultOptions(ScrnInfoPtr pScrn); + void viaProcessOptions(ScrnInfoPtr pScrn); + + /* In via_display.c. */ +-const xf86CrtcFuncsRec iga1_crtc_funcs; +-const xf86CrtcFuncsRec iga2_crtc_funcs; ++extern const xf86CrtcFuncsRec iga1_crtc_funcs; ++extern const xf86CrtcFuncsRec iga2_crtc_funcs; + + /* In via_exa.c. */ + Bool viaInitExa(ScreenPtr pScreen); +diff --git a/src/via_sii164.h b/src/via_sii164.h +index 1a402aa..250ac75 100644 +--- src/via_sii164.h ++++ src/via_sii164.h +@@ -51,7 +51,7 @@ typedef struct _viaSiI164 { + } viaSiI164Rec, *viaSiI164RecPtr; + + +-const xf86OutputFuncsRec via_sii164_funcs; ++extern const xf86OutputFuncsRec via_sii164_funcs; + + Bool viaSiI164Probe(ScrnInfoPtr pScrn, I2CBusPtr pI2CBus); + void viaSiI164Init(ScrnInfoPtr pScrn); +diff --git a/src/via_vt1632.h b/src/via_vt1632.h +index 4f93f6c..61dada1 100644 +--- src/via_vt1632.h ++++ src/via_vt1632.h +@@ -51,7 +51,7 @@ typedef struct _VIAVT1632 { + } viaVT1632Rec, *viaVT1632RecPtr; + + +-const xf86OutputFuncsRec via_vt1632_funcs; ++extern const xf86OutputFuncsRec via_vt1632_funcs; + + Bool viaVT1632Probe(ScrnInfoPtr pScrn, I2CBusPtr pI2CBus); + void viaVT1632Init(ScrnInfoPtr pScrn);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008190835.07J8ZqAM076090>