FreeBSD Bugzilla – Attachment 180922 Details for
Bug 217886
xorg fails to init GL on stable/11 because of a devel/libdevq bug(?)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Fix libdevq on stable/11
patch-src_freebsd_device.c (text/x-csrc), 754 bytes, created by
holin
on 2017-03-18 11:13:58 UTC
(
hide
)
Description:
Fix libdevq on stable/11
Filename:
MIME Type:
Creator:
holin
Created:
2017-03-18 11:13:58 UTC
Size:
754 bytes
patch
obsolete
>diff -Nru ../libdevq-0.0.4.orig/src/freebsd/device.c ./src/freebsd/device.c >--- ../libdevq-0.0.4.orig/src/freebsd/device.c 2016-07-28 13:50:48.000000000 +0300 >+++ ./src/freebsd/device.c 2017-03-18 12:39:31.825984000 +0200 >@@ -210,10 +210,16 @@ > > /* > * dev.vgapci.$m.%location can have two formats: >+ * o "slot=0 function=0 dbsf=pci0:8:0:0" (FreeBSD stable/11 r314290) > * o "pci0:2:0:0 handle=\_SB_.PCI0.PEG3.MXM3" (FreeBSD 11+) > * o "slot=1 function=0" (up-to FreeBSD 10) > */ > >+ ret = sscanf(sysctl_value, "slot=%*d function=%*d dbsf=pci%d:%d:%d:%d %*s", >+ domain, bus, slot, function); >+ if (ret == 4) >+ return (0); >+ > ret = sscanf(sysctl_value, "pci%d:%d:%d:%d %*s", > domain, bus, slot, function); > if (ret == 4)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 217886
:
180922
|
181312
|
181319