clipit: fix build on gcc14
This commit is contained in:
parent
a968249646
commit
297d9f1ccf
@ -1,5 +1,6 @@
|
||||
{
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
lib,
|
||||
stdenv,
|
||||
autoreconfHook,
|
||||
@ -27,16 +28,30 @@ stdenv.mkDerivation rec {
|
||||
intltoolize --copy --force --automake
|
||||
'';
|
||||
|
||||
patches = [
|
||||
# Fixes for GCC14
|
||||
(fetchpatch {
|
||||
url = "https://salsa.debian.org/debian/clipit/-/raw/d4bafc28fcb445d1940cdfede6c70142cf3162f5/debian/patches/incompatible-pointer-types.patch";
|
||||
hash = "sha256-STI1fpnoPdEqu1embQcUlTG712HPbJ+LPm930P13Ixo=";
|
||||
})
|
||||
(fetchpatch {
|
||||
url = "https://salsa.debian.org/debian/clipit/-/raw/656d0814030c13437b10d40ee75615d0e8cd873e/debian/patches/missing-prototypes.patch";
|
||||
hash = "sha256-UD183IjV5BprPHQK9bhmUBKfUYgqEZ9M1cRE+AmhAPA=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
wrapGAppsHook3
|
||||
autoreconfHook
|
||||
intltool
|
||||
];
|
||||
|
||||
configureFlags = [
|
||||
"--with-gtk3"
|
||||
"--enable-appindicator=yes"
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gtk3
|
||||
libayatana-appindicator
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user