Created attachment 37727 [details] [review]
Fix build on GNU/Hurd
Debian has a patch for building Mesa without libdrm on GNU/Hurd (since it doesn't have it) -- can anyone review it?
Created attachment 37728 [details] [review]
Disable direct rendering on GNU/Hurd
(patch based on the first one)
Created attachment 37729 [details] [review]
os: simplify ifdef
This is a much better way of achieving what I was trying to achieve with bug #27840
I have reviewed and tested the changes and they look good to me, but I'm not building for linux either :-)
Created attachment 38273 [details] [review]
Fix build on GNU/Hurd (v2)
Still check for dri2proto and glproto headers on indirect-only builds.
(again, apply this patch first; the "Disable direct rendering" patch depends on it)
Created attachment 38531 [details] [review]
Still check for protocol header on indirect build
Or actually, just commit these changes separately.
can you possibly send these patches (rebased against master) to mesa-dev?
(In reply to comment #6)
> can you possibly send these patches (rebased against master) to mesa-dev?
I recently sent an updated version of the first two patches, combined with some stuff of mine from bug #27840
Committed the drm-related build fixes as 758561786c3a34303e6c85dfdb996b94a4eed678 and e7d18ed1ef8106e2f0eec1078efde6da358e692b
"simplify ifdef" patch remains
(In reply to comment #8)
> "simplify ifdef" patch remains
Commit "simplify ifdef" patch as 39cd791f3428ab48723fd4c73c4b1223e883ab2d so I can close this.