done, but there is the error.
Eh... first of all, you need to run something like
or you will be using the same makefiles that have been already generated with the previous CFLAGS so what you are doing will not do any good.
Second, if that still does not work with those CFLAGS b/c your CFLAGS are ignored, then you simply have to use grep and sed to remove the hardcoded -Werror crap.
Would suggest reading something like Gentoo developer documentation.
P.S. Kindly note I am still talking about the error in the first post of this thread, not about any other errors introduced by broken patching of the source code.