Merge remote-tracking branch 'origin/master' into stdenv-updates.

Conflicts:
	pkgs/development/libraries/gettext/default.nix
gettext: fix minor errors after merge
gettext: strip trailing whitespace
llvm: add support for R600

It will be useful for mesa >= 9.2.*
Also, I want to restart the build on Hydra, as it succeeds for me.
texinfo: update to version 5.2
texinfo: remove obsolete version 4.9
Merge remote-tracking branch 'origin/master' into stdenv-updates.
gmp: update to version 5.1.3
gfortan: remove unused versions, use 4.7 by default

4.8 still doesn't build, so let's use 4.7 in the meantime.
gcc: don't use profiling on darwin

Darwin seems to have problems on Hydra, maybe because of this.
pcre: disable tests for freeBSDs, as we're running out of stack
gnutar: update to version 1.27
vigra: fix build with newer gcc via update

This fixes libreoffice build on my machine.
inkscape: remove unused patch
inkscape: fix typo in upstream sources.

fixes stdenv-updates
zsnes: patches for modern gcc & libpng

builds fine on stdenv-updates now
needs gcc 4.8+, so keep this commit on stdenv-updates until merge
wine: doesn't build with bison3
gnutar: drop obsolete gets-undeclared.patch
ghc: configure RPATH that allows ghc's shared libraries to find each other

Prior to this patch, libHSrts.so didn't know how to load libffi.so.
See issue #1081 for further details.
isl: update download url

This patch fixes issue #1091.