freebsd-ports/games/maelstrom/files/patch-maclib__Mac_Sound.h
Rusmir Dusko 49576030c2 - Change master sites
- Add DOCS Option
- Support STAGEDIR, change DESTDIR
- Change Desktop entry file
- Disable all warnings with -w
- Recreate patches with make makepatch

Approved by:	pawel / wg (mentors, implicit)
2013-12-28 16:11:08 +00:00

11 lines
302 B
C

--- ./maclib/Mac_Sound.h.orig 2002-10-20 04:53:34.000000000 +0200
+++ ./maclib/Mac_Sound.h 2013-12-28 11:39:16.000000000 +0100
@@ -199,7 +199,7 @@
va_list ap;
va_start(ap, fmt);
- vsprintf(errbuf, fmt, ap);
+ vsnprintf(errbuf, sizeof(errbuf), fmt, ap);
va_end(ap);
errstr = errbuf;
}