- u_buildfix.patch

* fixes build on i586 (hopefully)

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xf86-video-voodoo?expand=0&rev=18
This commit is contained in:
Stefan Dirsch 2024-12-11 16:32:57 +00:00 committed by Git OBS Bridge
parent 6e181cafa7
commit 317a99e394
3 changed files with 15 additions and 0 deletions

12
u_buildfix.patch Normal file
View File

@ -0,0 +1,12 @@
diff -u -r xf86-video-voodoo-1.2.6.old/src/voodoo_hardware.c xf86-video-voodoo-1.2.6/src/voodoo_hardware.c
--- xf86-video-voodoo-1.2.6.old/src/voodoo_hardware.c 2024-12-11 17:27:10.628925000 +0100
+++ xf86-video-voodoo-1.2.6/src/voodoo_hardware.c 2024-12-11 17:29:56.398752000 +0100
@@ -144,7 +144,7 @@
static void pci_enable(VoodooPtr pVoo, int wr, int dac, int fifo)
{
CARD32 x;
- PCI_READ_LONG(pVoo->PciInfo, &x, 0x40);
+ PCI_READ_LONG(pVoo->PciInfo, (uint32_t *) &x, 0x40);
x &= ~7;
x |= wr;
x |= fifo<<1;

View File

@ -17,6 +17,8 @@ Wed Dec 11 16:10:06 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
0014-drop-dead-code.patch
0015-drop-remains-of-old-compat-code.patch
* latest changes to fix build against current xserver
- u_buildfix.patch
* fixes build on i586 (hopefully)
-------------------------------------------------------------------
Sun Dec 18 15:32:28 UTC 2022 - Dirk Müller <dmueller@suse.com>

View File

@ -41,6 +41,7 @@ Patch12: 0012-Drop-ifdefs-for-ABI_VIDEODRV_VERSION-6.patch
Patch13: 0013-Remove-XAA-support.patch
Patch14: 0014-drop-dead-code.patch
Patch15: 0015-drop-remains-of-old-compat-code.patch
Patch20: u_buildfix.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: pkgconfig