Here is a much improved and version-bumped ebuild of dev-lang/tcc! It removes compiler-warnings, respects CFLAGS, and Gentooifies (is that a word? *S*) the examples..
Created attachment 6346 [details] dev-lang/tcc/tcc-0.9.14.ebuild
Created attachment 6348 [details] Take two: dev-lang/tcc/tcc-0.9.14.ebuild Forgot to remove some leftovers from the old ebuild... :P
Hi Per. Thanks for the update (much needed for #8897 from what I can tell)! Just one thing. This line: -e 's:-malign:-falign:g' \ in the sed you apply in the src_unpack is going to break build on gcc-2.95.3 based systems (we still have that profile ;) and in fact is going to have it for quite some time). Could you please make this optional on gcc version? (gcc -dumpversion should serve you fine for this purpose). George
I'll have a look at it, but please just remove it in the meantime because after all it's only warnings.. ;) I don't have time to fix it until next week or so... :(
Nice ebuild, much better than mine. I have to search bugzilla *before* I make an ebuild. :) Just that your gentooification has a typo - it should be #! instead of just # in the example files... -J
Hi guys. I have deleted the malign->falign part of sed statment and added the ! in the first line of example. The ebuild is committed (and keymasked). Please test. George
Works great! ;)
Hi Per. Thanks for testing! Closing the bug now. George