I've also recently had to update my Fedora Ice RPM packages to support GCC 4.3. I used the above patch as a base, but also had to #include <climits> in a few places to get INT_MAX, LONG_MAX, and PATH_MAX. My version of the patch is attached.
The compile also produces a number of warnings about "suggest parentheses around && within ||" and, in the IcePHP code, about "deprecated conversion from string constant to 'char*'", which I have not investigated.
