1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/games/maelstrom/files/patch-screenlib__SDL_FrameBuf.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

12 lines
321 B
C

--- ./screenlib/SDL_FrameBuf.h.orig 2000-09-24 19:55:39.000000000 +0200
+++ ./screenlib/SDL_FrameBuf.h 2013-12-28 11:39:16.000000000 +0100
@@ -165,7 +165,7 @@
va_list ap;
va_start(ap, fmt);
- vsprintf(errbuf, fmt, ap);
+ vsnprintf(errbuf, sizeof(errbuf), fmt, ap);
va_end(ap);
errstr = errbuf;
}