gtk+3: fix dependencies for new gnome/accessibility/at-spi2-core
[oi-userland.git] / components / x11 / libpciaccess / patches / 03-backout-DINFOCPYALL.patch
blobbcbb67f88af4784d88f52e781c5d34978664ee1e
1 Backout DINFOCACHE from di_init as it does not work for us (part of upstream
2 fe556c48dad96717b0ba71d489575c6b90b46448). Xorg fails to start with
4 intel(0): intel_uxa_set_pixmap_bo: size of buffer object does not
5 match constraints: size=14680064, must be greater than 14376960, but less than 0
7 and `scanpci -v` produces "di_init failed".
9 --- libpciaccess-0.14/src/solx_devfs.c 2017-10-23 17:48:29.000000000 +0000
10 +++ libpciaccess-0.14/src/solx_devfs.c.new 2019-03-09 19:04:03.462457526 +0000
11 @@ -543,7 +543,7 @@ pci_device_solx_devfs_probe( struct pci_
12 * starting to find if it is MEM/MEM64/IO
13 * using libdevinfo
15 - if ((rnode = di_init(nexus->dev_path, DINFOCACHE)) == DI_NODE_NIL) {
16 + if ((rnode = di_init(nexus->dev_path, DINFOCPYALL)) == DI_NODE_NIL) {
17 err = errno;
18 (void) fprintf(stderr, "di_init failed: %s\n", strerror(errno));
19 } else {
20 @@ -1075,7 +1075,7 @@ pci_system_solx_devfs_create( void )
21 return 0;
24 - if ((di_node = di_init("/", DINFOCACHE)) == DI_NODE_NIL) {
25 + if ((di_node = di_init("/", DINFOCPYALL)) == DI_NODE_NIL) {
26 err = errno;
27 (void) fprintf(stderr, "di_init() failed: %s\n",
28 strerror(errno));