Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1diff -Naur Maelstrom-3.0.7/buttonlist.h Maelstrom-3.0.7-patched/buttonlist.h 2--- Maelstrom-3.0.7/buttonlist.h 2000-01-25 11:41:32.000000000 -0500 3+++ Maelstrom-3.0.7-patched/buttonlist.h 2021-02-22 08:34:01.000000000 -0500 4@@ -16,7 +16,7 @@ 5 6 void Add_Button(Uint16 x, Uint16 y, Uint16 width, Uint16 height, 7 void (*callback)(void)) { 8- struct button *belem; 9+ button *belem; 10 11 for ( belem=&button_list; belem->next; belem=belem->next ); 12 belem->next = new button; 13@@ -30,7 +30,7 @@ 14 } 15 16 void Activate_Button(Uint16 x, Uint16 y) { 17- struct button *belem; 18+ button *belem; 19 20 for ( belem=button_list.next; belem; belem=belem->next ) { 21 if ( (x >= belem->x1) && (x <= belem->x2) && 22@@ -42,7 +42,7 @@ 23 } 24 25 void Delete_Buttons(void) { 26- struct button *belem, *btemp; 27+ button *belem, *btemp; 28 29 for ( belem=button_list.next; belem; ) { 30 btemp = belem; 31diff -Naur Maelstrom-3.0.7/main.cpp Maelstrom-3.0.7-patched/main.cpp 32--- Maelstrom-3.0.7/main.cpp 2021-02-04 11:50:27.000000000 -0500 33+++ Maelstrom-3.0.7-patched/main.cpp 2021-02-22 08:34:34.000000000 -0500 34@@ -153,7 +153,7 @@ 35 error("or\n"); 36 error("Usage: %s <options>\n\n", progname); 37 error("Where <options> can be any of:\n\n" 38-" -fullscreen # Run Maelstrom in full-screen mode\n" 39+" -windowed # Run Maelstrom in windowed mode\n" 40 " -gamma [0-8] # Set the gamma correction\n" 41 " -volume [0-8] # Set the sound volume\n" 42 " -netscores # Use the world-wide network score server\n"