- Change Desktop entry file - Remove leading article from Summary - Change URL - Remove obsolete patches - Add new patches from Gentoo, Fedora and my port in FreeBSD - Add patches, correct FSF Address add missing includes - Add BuildRequires for desktop-file-utils - Change description - Fix paths - Simplify installation handling - Use install-binPROGRAMS and normal Name for executables Maelstrom and Maelstrom-netd I maintain Maelstorm in FreeBSD. OBS-URL: https://build.opensuse.org/request/show/252721 OBS-URL: https://build.opensuse.org/package/show/games/maelstrom?expand=0&rev=8
12 lines
428 B
Diff
12 lines
428 B
Diff
--- netlogic/game.cpp.orig 2001-07-23 04:24:03.000000000 +0200
|
|
+++ netlogic/game.cpp 2014-09-28 13:48:00.857460134 +0200
|
|
@@ -852,7 +852,7 @@
|
|
|
|
hScores[which].wave = gWave;
|
|
hScores[which].score = OurShip->GetScore();
|
|
- strcpy(hScores[which].name, handle);
|
|
+ strncpy(hScores[which].name, handle,sizeof(hScores[which].name)-1)[sizeof(hScores[which].name)-1] = 0;
|
|
|
|
sound->HaltSound();
|
|
sound->PlaySound(gGotPrize, 6);
|