bitcoin/bitcoin — pull request #2618 by fcicq (2013-05-05 06:01:21+00:00)
Title: Partial solaris support

This pull request are easy to audit changes, other clean up & makefile modification (remove unsupported -Wl,-z,relro in LDHARDENING, add/mod libs) are still required.

on my build env, I have to explicitly specify std::map for every map,
and disable literals in c++11, see http://en.wikipedia.org/wiki/C%2B%2B11#User-defined_literals,
which can be done via this batch hack:
```
sed -i "s/map