Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

purePackages.stllib: fix build with gcc 4.9 (ZHF)

+6
+6
pkgs/development/pure-modules/stllib/default.nix
··· 10 10 sha256 = "1d550764fc2f8ba6ddbd1fbd3da2d6965b69e2c992747265d9ebe4f16aa5e455"; 11 11 }; 12 12 13 + postPatch = '' 14 + for f in pure-stlmap/{stlmap.cpp,stlmmap.cpp,stlhmap.cpp}; do 15 + sed -i '1i\#include <cstddef>' $f 16 + done 17 + ''; 18 + 13 19 buildInputs = [ pkgconfig ]; 14 20 propagatedBuildInputs = [ pure ]; 15 21 makeFlags = "libdir=$(out)/lib prefix=$(out)/";