connman-gtk: fix FTBFS with GCC-14 (incompatible pointer types)
GCC-14 no longer allows implicitly casting all pointer types to all other pointer types. This now causes an error when compiling src/status.c. Therefore, explicitly cast the first argument in gtk_widget_set_sensitive() call to GTK_WIDGET, which is what it expects.
This commit is contained in:
parent
276af645fd
commit
94c85b301d
@ -2,6 +2,7 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
autoconf,
|
||||
automake,
|
||||
intltool,
|
||||
@ -37,6 +38,13 @@ stdenv.mkDerivation rec {
|
||||
connman
|
||||
];
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://salsa.debian.org/nickm/connman-gtk/-/raw/ef01b52fa02c5cca199b2e47c0cf360691266fd8/debian/patches/incompatible-pointer-type";
|
||||
hash = "sha256-T+N9FfDyROBA4/HLK+l/fpnju2imDU4y6nGSbF+JDiA=";
|
||||
})
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
# m4/intltool.m4 is an invalid symbolic link
|
||||
rm m4/intltool.m4
|
||||
|
Loading…
x
Reference in New Issue
Block a user