Loading pkgs/by-name/ti/tilem/gcc15-fix.patch 0 → 100644 +12 −0 Original line number Diff line number Diff line Fix call to zero-argument tilem_macro_new(), which GCC 15 rejects because the declaration takes no parameters. --- a/gui/macro.c +++ b/gui/macro.c @@ -70,7 +70,7 @@ tilem_macro_finalize(emu->macro); /* Then allocate a new one */ - emu->macro = tilem_macro_new(emu); + emu->macro = tilem_macro_new(); } /* Add an action to the macro. The action could be : pkgs/by-name/ti/tilem/package.nix +4 −1 Original line number Diff line number Diff line Loading @@ -27,7 +27,10 @@ stdenv.mkDerivation (finalAttrs: { libticables2 libticalcs2 ]; patches = [ ./gcc14-fix.patch ]; patches = [ ./gcc14-fix.patch ./gcc15-fix.patch ]; env.NIX_CFLAGS_COMPILE = toString [ "-lm" ]; meta = { homepage = "http://lpg.ticalc.org/prj_tilem/"; Loading Loading
pkgs/by-name/ti/tilem/gcc15-fix.patch 0 → 100644 +12 −0 Original line number Diff line number Diff line Fix call to zero-argument tilem_macro_new(), which GCC 15 rejects because the declaration takes no parameters. --- a/gui/macro.c +++ b/gui/macro.c @@ -70,7 +70,7 @@ tilem_macro_finalize(emu->macro); /* Then allocate a new one */ - emu->macro = tilem_macro_new(emu); + emu->macro = tilem_macro_new(); } /* Add an action to the macro. The action could be :
pkgs/by-name/ti/tilem/package.nix +4 −1 Original line number Diff line number Diff line Loading @@ -27,7 +27,10 @@ stdenv.mkDerivation (finalAttrs: { libticables2 libticalcs2 ]; patches = [ ./gcc14-fix.patch ]; patches = [ ./gcc14-fix.patch ./gcc15-fix.patch ]; env.NIX_CFLAGS_COMPILE = toString [ "-lm" ]; meta = { homepage = "http://lpg.ticalc.org/prj_tilem/"; Loading