Recently while wanting attempting to resize a ext3 partition, I realized that it would be nice to be able to merge ext2resize with USE=static. Seemed pretty simple so here is a patch. Reproducible: Always Steps to Reproduce: 1. USE=static emerge ext2resize Actual Results: ext2resize what merged with dynamic linking. Expected Results: ext2resize what merged with static linking.
Created attachment 10937 [details, diff] patch to add USE=static support to ext2resize I hope I got this right. I copied the textutils ebuild. It seems like it should use LDFLAGS=-static for configure so it actually checks to make sure the system supports static linking but that may be a pathological case.
Hmm... is this also the sort of thing that should be put in / instead of /usr?
That sounds like a really good idea to me.
done and done, thanks.