Created attachment 399390 [details, diff]
fix compilation against musl
parted fails to compile against musl's headers. it appears to assume fnctl.h will be pulled in as a side effect of another include.
fix attached. i didn't bump the ebuild revision but since this has never compiled against musl before and there isn't an existing ebuild in the musl overlay.
since this is a really simple patch, and i dont see how this could cause any problems, it should probably land directly in the main tree rather than sit in the overlay IMHO.
seriously, the patch is just to add '#include <fnctl.h>' to 'libparted/fs/xfs/platform_defs.h'.
Looks fine for upstream.
seems to be the list (unfortunately subscriber only) where to send your
patch to. Preferably use git-send-email and say in the message why the
include is necessary.
Has anyone sent this usptream?
In upstream git:
Current in tree version works with musl