pkgsrc/devel/devIL/patches/patch-aa
joerg fc6b9374d7 Use vsnprintf, not _vsnprintf. While the interface is not standard,
using protected names is even worth. They might not even exist
everywhere.
2006-04-28 14:30:58 +00:00

20 lines
580 B
Text

$NetBSD: patch-aa,v 1.1 2006/04/28 14:30:58 joerg Exp $
--- src-IL/src/il_tiff.c.orig 2006-04-28 12:38:43.000000000 +0000
+++ src-IL/src/il_tiff.c
@@ -168,13 +168,13 @@ ILboolean ilLoadTiffL(ILvoid *Lump, ILui
void warningHandler(const char* mod, const char* fmt, va_list ap)
{
char buff[1024];
- _vsnprintf(buff, 1024, fmt, ap);
+ vsnprintf(buff, 1024, fmt, ap);
}
void errorHandler(const char* mod, const char* fmt, va_list ap)
{
char buff[1024];
- _vsnprintf(buff, 1024, fmt, ap);
+ vsnprintf(buff, 1024, fmt, ap);
}
// Internal function used to load the Tiff.