part of, a new upstream version, but I need to talk to some people first.
(I'm keeping this separate from the previous update in case it breaks stuff.)
Changes:
roll in parts of patch-aa and patch-aq;
roll in all of patch-ar and patch-src_memsize_c;
make the ARM-only adjustment from patch-ar universal;
add enough volatile to make 'mhz' work more or less properly again;
fix the loop calibration to bail out instead of spinning forever
if things go too fast (e.g. because the compiler's optimized out
the benchmark loop);
various hacking and modernization to get sort of a clean compile;
fix some non-stdc stringifying macros;
hopefully advance the clang build a bit further.
to optimize away the loop used for timing. Do something in the loop for
arm that can't be optimized away, and will also meet the 1,000
instructions in the loop requirement.
This allows mhz to calculate sensible Mhz on a StrongArm (228Mhz rather
than 56Mhz)
Other hardware probably also need fixing, as gcc probably applies the same
optimizations on them.
Also bump PKGREVISION.