xine-ui: fix build

This commit is contained in:
pancaek
2026-04-04 18:38:09 -07:00
parent 8ae8408a61
commit fe7246baa4
+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 = {