clipit: fix build on gcc14

+15
+15
pkgs/by-name/cl/clipit/package.nix
··· 1 { 2 fetchFromGitHub, 3 lib, 4 stdenv, 5 autoreconfHook, ··· 27 intltoolize --copy --force --automake 28 ''; 29 30 nativeBuildInputs = [ 31 pkg-config 32 wrapGAppsHook3 33 autoreconfHook 34 intltool 35 ]; 36 configureFlags = [ 37 "--with-gtk3" 38 "--enable-appindicator=yes" 39 ]; 40 buildInputs = [ 41 gtk3 42 libayatana-appindicator
··· 1 { 2 fetchFromGitHub, 3 + fetchpatch, 4 lib, 5 stdenv, 6 autoreconfHook, ··· 28 intltoolize --copy --force --automake 29 ''; 30 31 + patches = [ 32 + # Fixes for GCC14 33 + (fetchpatch { 34 + url = "https://salsa.debian.org/debian/clipit/-/raw/d4bafc28fcb445d1940cdfede6c70142cf3162f5/debian/patches/incompatible-pointer-types.patch"; 35 + hash = "sha256-STI1fpnoPdEqu1embQcUlTG712HPbJ+LPm930P13Ixo="; 36 + }) 37 + (fetchpatch { 38 + url = "https://salsa.debian.org/debian/clipit/-/raw/656d0814030c13437b10d40ee75615d0e8cd873e/debian/patches/missing-prototypes.patch"; 39 + hash = "sha256-UD183IjV5BprPHQK9bhmUBKfUYgqEZ9M1cRE+AmhAPA="; 40 + }) 41 + ]; 42 + 43 nativeBuildInputs = [ 44 pkg-config 45 wrapGAppsHook3 46 autoreconfHook 47 intltool 48 ]; 49 + 50 configureFlags = [ 51 "--with-gtk3" 52 "--enable-appindicator=yes" 53 ]; 54 + 55 buildInputs = [ 56 gtk3 57 libayatana-appindicator