xplayer: Fix GCC 14 build

bacon-video-widget.c:1926:46: error: assignment to 'GstElement *' {aka 'struct _GstElement *'}
from incompatible pointer type 'GstObject *' {aka 'struct _GstObject *'} []
This commit is contained in:
Bobby Rong
2024-12-23 23:06:56 +08:00
parent 2f70db3e94
commit b685ea0654
+7
View File
@@ -86,6 +86,13 @@ stdenv.mkDerivation rec {
patchPythonScript $out/lib/xplayer/plugins/dbus/dbusservice.py
'';
env = lib.optionalAttrs stdenv.cc.isGNU {
NIX_CFLAGS_COMPILE = toString [
"-Wno-error=incompatible-pointer-types"
"-Wno-error=return-mismatch"
];
};
meta = with lib; {
description = "Generic media player from Linux Mint";
license = with licenses; [