xine-ui: fix build (#506826)

This commit is contained in:
Aleksana
2026-04-05 14:09:04 +00:00
committed by GitHub
+5
View File
@@ -72,6 +72,11 @@ stdenv.mkDerivation (finalAttrs: {
LIRC_LIBS = "-L ${lib.getLib lirc}/lib -llirc_client";
};
postPatch = ''
substituteInPlace src/common/getopt.h \
--replace-fail 'extern int getopt ();' 'extern int getopt (int ___argc, char *const *___argv, const char *__shortopts);'
'';
strictDeps = true;
meta = {