linuxKernel.kernels.linux_zen: 6.11.5-zen1 -> v6.12.1-zen1; linuxKernel.kernels.linux...
[NixPkgs.git] / pkgs / by-name / gl / gltron / gentoo-prototypes.patch
blob71078ae553f76ec769354fca3f8e851ed764892d
1 Taken from:
2 http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/games-action/gltron/files/gltron-0.70-prototypes.patch?revision=1.1&view=markup
4 scripting.h declares these params as const so make sure they're the same.
6 --- a/nebu/scripting/scripting.c
7 +++ b/nebu/scripting/scripting.c
8 @@ -169,16 +169,16 @@
9 return status;
12 -void scripting_RunFile(char *name) {
13 +void scripting_RunFile(const char *name) {
14 lua_dofile(L, name);
17 -void scripting_Run(char *command) {
18 +void scripting_Run(const char *command) {
19 /* fprintf(stderr, "[command] %s\n", command); */
20 lua_dostring(L, command);
23 -void scripting_RunFormat(char *format, ... ) {
24 +void scripting_RunFormat(const char *format, ... ) {
25 char buf[4096];
26 va_list ap;
27 va_start(ap, format);