hreinecke / sg3_utils

Deprecated git-svn mirror for sg3_utils
http://sg.danny.cz/sg/sg3_utils.html
Other
154 stars 91 forks source link

Fix compilation with musl #95

Closed lars18th closed 1 year ago

lars18th commented 1 year ago

Based on https://github.com/tpm2-software/tpm2-abrmd/pull/503/files

doug-gilbert commented 1 year ago

I believe a variation on this patch has already been applied. My latest revision of this package is at https://github.com/doug-gilbert/sg3_utils . Sadly the revision here is over 2 years old. Just uploaded a revision that builds clean with MUSL libc (on Ubuntu 23.04). It needed some extra work to cope with missing headers linux/types.h and linux/major.h . If you have trouble building that version please contact me.

hreinecke commented 1 year ago

Fixed with git svn id 1041.