Created attachment 399292 [details, diff]
portability fix for musl
The `#if defined` block in lib/pread.h needs to be restructured slightly to enable compilation against musl. Attached is a patch against the hardened-dev musl branch that fixes the issue.
The patch is only necessary for x86. That's why I haven't hit it before.
wrt to upstreaming:
...-3.2.0-io.patch is no longer necessary for current pciutils but the
pread issue is still upstream. I've submitted something:
Fixed in pciutils-3.3.1.
| | u |
| a a a n p s | n |
| l m r h i m m i p s p | u s | r
| p d a m p a 6 i o p c 3 a x | s l | e
| h 6 r 6 p 6 8 p s p 6 9 s r 8 | e o | p
| a 4 m 4 a 4 k s 2 c 4 0 h c 6 | d t | o
3.2.0 | + + + + + + + ~ o + + + + + + | o 0 | gentoo
3.2.1 | ~ ~ ~ ~ ~ ~ ~ ~ o ~ ~ ~ ~ ~ ~ | # | gentoo
3.3.0-r2 | ~ ~ ~ ~ ~ ~ ~ ~ o ~ ~ ~ ~ ~ ~ | # | gentoo
3.3.1 | ~ ~ ~ ~ ~ ~ ~ ~ o ~ ~ ~ ~ ~ ~ | o | gentoo
We should ask for pciutils-3.3.1 to be stabilized next since it has been in the tree for one month.
Stable on alpha.
x86 stable time ago by me
Stable for HPPA.
Stable for PPC64.
Dear Maintainer (or who is mainly involved in this stable request),
This is an auto-generated message that will move the current component to the new component Stabilization.
To ensure that the stabilization will proceed correctly, please fill the fields "Atoms to stabilize" and "Runtime testing required" as described here:
arm64 has 3.4.1 stable.
All in tree version work, don't they?
meh, too old bug.