glibc: fix CVE-2014-0475 by upstream patches (close #3445)

https://sourceware.org/bugzilla/show_bug.cgi?id=17137
(cherry picked from commit 9253a95f6b3f65ecc701ebb10620acfb6d251f17)
Merge pull request #2924 from doublec/tor_0_2_4_22

Update tor to 0.2.4.22 and tor browser to 3.6.2 (close #3136)
(cherry picked from commit cf4b0a1222d9c594b1cbd61b3c52f1660f376694)
Turn some license strings into lib.licenses values

(cherry picked from commit 7a459962331e095cabd0cf5d56106727648a1824)

Conflicts:
	pkgs/applications/audio/espeak/default.nix
	pkgs/applications/audio/espeak/edit.nix
	pkgs/applications/editors/emacs-modes/metaweblog/default.nix
	pkgs/applications/editors/emacs-modes/proofgeneral/default.nix
	pkgs/applications/editors/sublime3/default.nix
	pkgs/applications/graphics/potrace/default.nix
	pkgs/applications/science/electronics/tkgate/2.x.nix
	pkgs/desktops/gnome-3/3.10/core/folks/default.nix
	pkgs/desktops/gnome-3/3.10/misc/goffice/default.nix
	pkgs/desktops/gnome-3/3.12/core/evince/default.nix
	pkgs/desktops/gnome-3/3.12/core/vte/default.nix
	pkgs/development/compilers/jdk/jdk7-linux.nix
	pkgs/development/compilers/opendylan/bin.nix
	pkgs/development/compilers/opendylan/default.nix
	pkgs/development/libraries/clutter/1.18.nix
	pkgs/development/libraries/gsl/default.nix
	pkgs/development/libraries/gstreamer/legacy/gstreamermm/default.nix
	pkgs/development/libraries/science/math/liblbfgs/default.nix
	pkgs/development/libraries/sword/default.nix
	pkgs/development/libraries/tbb/default.nix
	pkgs/development/ocaml-modules/lablgl/default.nix
	pkgs/games/crrcsim/default.nix
	pkgs/games/openxcom/default.nix
	pkgs/games/tibia/default.nix
	pkgs/os-specific/linux/disk-indicator/default.nix
	pkgs/os-specific/linux/keyutils/default.nix
	pkgs/os-specific/linux/usermount/default.nix
	pkgs/servers/mpd/clientlib.nix
	pkgs/servers/search/elasticsearch/default.nix
	pkgs/tools/misc/t1utils/default.nix
	pkgs/top-level/perl-packages.nix
	pkgs/top-level/python-packages-generated.nix
	pkgs/top-level/python-packages.nix
perl-packages.nix: partially revert 7a459962331e095c

The commit referred to non-existent license "stdenv.lib.licenses.perl5".

(cherry picked from commit 4895ace12757d277f3f2c80289915ddff9bc9697)

Conflicts:
	pkgs/top-level/perl-packages.nix
Partially revert 7a45996 some more.

Removing more references to the non-existent license "stdenv.lib.licenses.perl5".
Thanks to @FlashKorten for catching those.

(cherry picked from commit 5cc55e952335c7303fb238583359ae76d916b62f)
SDL: minor sync from master
Enable parallel building for GCC.

Even if using profiledbootstrap.  This was unsafe before 4.8, and
then the documentation was not fixed on time.

The documentation got fixed here:
  https://github.com/gcc-mirror/gcc/commit/c763997f340ec1fab37ad538b57afdad4f4bf747

But the actual code was already fixed here:
  https://github.com/gcc-mirror/gcc/commit/5d2fca09d543d4b42b99fe20f412efb78cc50ec3

So this is safe both for GCC 4.8 and GCC 4.9.

(cherry picked from commit f199e115d2d9acf2bee330c325a0fe19cf9d8235)
Get rid of bootstrap-tools dependency from xz (and therefore stdenv)

0769fc5b77eb76c6a794187f173c48f912fc837c broke this by setting CONFIG_SHELL.

(cherry picked from commit 59291fdbf4e26a2b09a1d39a0582a874d78d6797)
sync from master: pkgs/development/libraries/*

Picked what looked like non-intrusive changes to relatively used libs.
sync from master: doc/*
sync from master: xfce minor updates
sync from master: llvm-3.4 maintenance update
sync from master: xorg
kde4_next.kde_wacomtablet: update from 2.0 to 2.0.2, potentially fixes CVE-2012-4514, CVE-2012-4514

(cherry picked from commit d4fb2e83db495764ad0d5ac55fc7144628bca6ac)
apache 2_4 update, fixes some CVE's

See http://www.apache.org/dist/httpd/Announcement2.4.html It compiles,
didn't run it. I guess minor update doesn't cause much trouble even
though there are some new features

(cherry picked from commit ba154ec9d4c06fdee2f58a57d06520ada4b7fdf7)
Merge pull request #3595 from wkennington/master.kernel

Kernel Updates
(cherry picked from commit 08b8eaae1cba30ed9e55c70b52d2c80c6dcaa95f)

Conflicts (skipping some intermediate bump commits):
	pkgs/os-specific/linux/kernel/linux-3.10.nix
	pkgs/os-specific/linux/kernel/linux-3.14.nix
	pkgs/os-specific/linux/kernel/linux-3.15.nix
	pkgs/os-specific/linux/kernel/linux-3.16.nix
	pkgs/os-specific/linux/kernel/linux-3.4.nix
ffmpeg: fix forgotten hash
llvm: fixup the paxmark phase (not here yet)
xorg: revert larger updates from master

I'll better be more conservative.