tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
dbus_cplusplus: fix build with gcc7 via Fedra patches
Vladimír Čunát
8 years ago
0a52c59d
088d7c9f
+20
-5
1 changed file
expand all
collapse all
unified
split
pkgs
development
libraries
dbus-cplusplus
default.nix
+20
-5
pkgs/development/libraries/dbus-cplusplus/default.nix
···
10
10
sha256 = "0qafmy2i6dzx4n1dqp6pygyy6gjljnb7hwjcj2z11c1wgclsq4dw";
11
11
};
12
12
13
13
-
patches = [( fetchurl {
14
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
15
-
name = "gcc-4.7.patch";
16
16
-
sha256 = "0rwcz9pvc13b3yfr0lkifnfz0vb5q6dg240bzgf37ni4s8rpc72g";
17
17
-
})];
13
13
+
patches = [
14
14
+
(fetchurl {
15
15
+
name = "gcc-4.7.patch";
16
16
+
url = "http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-libs/"
17
17
+
+ "dbus-c%2B%2B/files/dbus-c%2B%2B-0.9.0-gcc-4.7.patch";
18
18
+
sha256 = "0rwcz9pvc13b3yfr0lkifnfz0vb5q6dg240bzgf37ni4s8rpc72g";
19
19
+
})
20
20
+
(fetchurl {
21
21
+
name = "writechar.patch"; # since gcc7
22
22
+
url = "https://src.fedoraproject.org/cgit/rpms/dbus-c++.git/plain/"
23
23
+
+ "dbus-c++-writechar.patch?id=7f371172f5c";
24
24
+
sha256 = "1kkg4gbpm4hp87l25zw2a3r9c58g7vvgzcqgiman734i66zsbb9l";
25
25
+
})
26
26
+
(fetchurl {
27
27
+
name = "threading.patch"; # since gcc7
28
28
+
url = "https://src.fedoraproject.org/cgit/rpms/dbus-c++.git/plain/"
29
29
+
+ "dbus-c++-threading.patch?id=7f371172f5c";
30
30
+
sha256 = "1h362anx3wyxm5lq0v8girmip1jmkdbijrmbrq7k5pp47zkhwwrq";
31
31
+
})
32
32
+
];
18
33
19
34
nativeBuildInputs = [ pkgconfig ];
20
35
buildInputs = [ dbus glib expat ];