mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
49576030c2
- 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)
12 lines
321 B
C
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;
|
|
}
|