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

dbus_cplusplus: fix build with gcc7 via Fedra patches

+20 -5
+20 -5
pkgs/development/libraries/dbus-cplusplus/default.nix
··· 10 10 sha256 = "0qafmy2i6dzx4n1dqp6pygyy6gjljnb7hwjcj2z11c1wgclsq4dw"; 11 11 }; 12 12 13 - patches = [( fetchurl { 14 - url = http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-libs/dbus-c%2B%2B/files/dbus-c%2B%2B-0.9.0-gcc-4.7.patch; 15 - name = "gcc-4.7.patch"; 16 - sha256 = "0rwcz9pvc13b3yfr0lkifnfz0vb5q6dg240bzgf37ni4s8rpc72g"; 17 - })]; 13 + patches = [ 14 + (fetchurl { 15 + name = "gcc-4.7.patch"; 16 + url = "http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-libs/" 17 + + "dbus-c%2B%2B/files/dbus-c%2B%2B-0.9.0-gcc-4.7.patch"; 18 + sha256 = "0rwcz9pvc13b3yfr0lkifnfz0vb5q6dg240bzgf37ni4s8rpc72g"; 19 + }) 20 + (fetchurl { 21 + name = "writechar.patch"; # since gcc7 22 + url = "https://src.fedoraproject.org/cgit/rpms/dbus-c++.git/plain/" 23 + + "dbus-c++-writechar.patch?id=7f371172f5c"; 24 + sha256 = "1kkg4gbpm4hp87l25zw2a3r9c58g7vvgzcqgiman734i66zsbb9l"; 25 + }) 26 + (fetchurl { 27 + name = "threading.patch"; # since gcc7 28 + url = "https://src.fedoraproject.org/cgit/rpms/dbus-c++.git/plain/" 29 + + "dbus-c++-threading.patch?id=7f371172f5c"; 30 + sha256 = "1h362anx3wyxm5lq0v8girmip1jmkdbijrmbrq7k5pp47zkhwwrq"; 31 + }) 32 + ]; 18 33 19 34 nativeBuildInputs = [ pkgconfig ]; 20 35 buildInputs = [ dbus glib expat ];