- 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
393 B
Diff
12 lines
393 B
Diff
--- maclib/macres.cpp.orig 2000-01-25 17:44:20.000000000 +0100
|
|
+++ maclib/macres.cpp 2014-09-28 13:16:06.215427845 +0200
|
|
@@ -58,7 +58,7 @@
|
|
ids[j], res->ResourceName(types[i], ids[j]));
|
|
if ( argv[2] ) {
|
|
char path[23];
|
|
- sprintf(path,"%s/%s:%hu", argv[2],
|
|
+ snprintf(path, sizeof(path),"%s/%s:%hu", argv[2],
|
|
types[i], ids[j]);
|
|
FILE *output;
|
|
Mac_ResData *D;
|