mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 20:25:32 +03:00
clipit: fix build on gcc14
This commit is contained in:
parent
a968249646
commit
297d9f1ccf
1 changed files with 15 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
||||||
{
|
{
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
|
fetchpatch,
|
||||||
lib,
|
lib,
|
||||||
stdenv,
|
stdenv,
|
||||||
autoreconfHook,
|
autoreconfHook,
|
||||||
|
@ -27,16 +28,30 @@ stdenv.mkDerivation rec {
|
||||||
intltoolize --copy --force --automake
|
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 = [
|
nativeBuildInputs = [
|
||||||
pkg-config
|
pkg-config
|
||||||
wrapGAppsHook3
|
wrapGAppsHook3
|
||||||
autoreconfHook
|
autoreconfHook
|
||||||
intltool
|
intltool
|
||||||
];
|
];
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--with-gtk3"
|
"--with-gtk3"
|
||||||
"--enable-appindicator=yes"
|
"--enable-appindicator=yes"
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
gtk3
|
gtk3
|
||||||
libayatana-appindicator
|
libayatana-appindicator
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue