Hello, I currently need sfdisk to build SD card images of the ARM port of Haiku <http://haiku-os.org/>, and I noticed it wasn't available on OSX or other OSes, so I had a look at porting it. I tried to port the whole of util-linux-ng but I had to introduce some configure flags to exclude parts that aren't relevant anyway. The following patches attempt to make it more portable. I didn't try building on Haiku yet, but surely they will help there as well. François.-- To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html