media-video/mpeg4ip-184.108.40.206-r4 fails to compile with gcc-4.3
Created attachment 148190 [details, diff]
Fix includes, stream usage, and array bounds for gcc-4.3
Three types of errors were necessary to fix to compile with gcc-4.3:
1. For #include <iostream.h> (and similar things) the ".h" was removed.
2. "cout" and similar things were used without "std::"
3. gcc spits an "out of array bounds" warning which by -Werror was converted to
an error. Since I don't know how to avoid this warning, -Werror was removed
from a Makefile.ac
My fix for 2. was simply to add "using namespace std;" which is certainly not
the cleanest the solution, but works well and - hey, it's a patch!
Because of 3. it is necessary to apply the patch before "autoreconf".
Thanks for the patch, fixed.