tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
clipit: fix build on gcc14
Stefan Frijters
1 year ago
297d9f1c
a9682496
+15
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
cl
clipit
package.nix
+15
pkgs/by-name/cl/clipit/package.nix
···
1
1
{
2
2
fetchFromGitHub,
3
3
+
fetchpatch,
3
4
lib,
4
5
stdenv,
5
6
autoreconfHook,
···
27
28
intltoolize --copy --force --automake
28
29
'';
29
30
31
31
+
patches = [
32
32
+
# Fixes for GCC14
33
33
+
(fetchpatch {
34
34
+
url = "https://salsa.debian.org/debian/clipit/-/raw/d4bafc28fcb445d1940cdfede6c70142cf3162f5/debian/patches/incompatible-pointer-types.patch";
35
35
+
hash = "sha256-STI1fpnoPdEqu1embQcUlTG712HPbJ+LPm930P13Ixo=";
36
36
+
})
37
37
+
(fetchpatch {
38
38
+
url = "https://salsa.debian.org/debian/clipit/-/raw/656d0814030c13437b10d40ee75615d0e8cd873e/debian/patches/missing-prototypes.patch";
39
39
+
hash = "sha256-UD183IjV5BprPHQK9bhmUBKfUYgqEZ9M1cRE+AmhAPA=";
40
40
+
})
41
41
+
];
42
42
+
30
43
nativeBuildInputs = [
31
44
pkg-config
32
45
wrapGAppsHook3
33
46
autoreconfHook
34
47
intltool
35
48
];
49
49
+
36
50
configureFlags = [
37
51
"--with-gtk3"
38
52
"--enable-appindicator=yes"
39
53
];
54
54
+
40
55
buildInputs = [
41
56
gtk3
42
57
libayatana-appindicator