git: b713a9d1a65c - main - x11-drivers/xlibre-xf86-video-nv: fix build on powerpc*

Piotr Kubaj <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.ports
Message-ID <[email protected]>
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b713a9d1a65ce3d003f2e42a01de8754d42da650

commit b713a9d1a65ce3d003f2e42a01de8754d42da650
Author:     Piotr Kubaj <[email protected]>
AuthorDate: 2026-08-12 09:55:43 +0000
Commit:     Piotr Kubaj <[email protected]>
CommitDate: 2026-08-12 12:54:29 +0000

    x11-drivers/xlibre-xf86-video-nv: fix build on powerpc*
    
    Same as x11-drivers/xf86-video-nv.
---
 x11-drivers/xlibre-xf86-video-nv/files/patch-src_nv__driver.c | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/x11-drivers/xlibre-xf86-video-nv/files/patch-src_nv__driver.c b/x11-drivers/xlibre-xf86-video-nv/files/patch-src_nv__driver.c
new file mode 100644
index 000000000000..5d8f45184a1e
--- /dev/null
+++ b/x11-drivers/xlibre-xf86-video-nv/files/patch-src_nv__driver.c
@@ -0,0 +1,11 @@
+--- src/nv_driver.c.orig	2026-08-12 09:54:13 UTC
++++ src/nv_driver.c
+@@ -1384,7 +1384,7 @@ NVPreInit(ScrnInfoPtr pScrn, int flags)
+ 	return FALSE;
+     }
+ #ifdef __powerpc__ /* XXX probably MI */
+-    vgaHWSetMmioFuncs(VGAHWPTR(pScrn), pNv->IOAddress, 0);
++    vgaHWSetMmioFuncs(VGAHWPTR(pScrn), NULL, 0);
+ #else
+     vgaHWSetStdFuncs(VGAHWPTR(pScrn));
+ #endif
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.