xine-ui: fix build (#506826)
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user