pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/devIL Use vsnprintf, not _vsnprintf. While the i...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9655e0d12a95
branches:  trunk
changeset: 511981:9655e0d12a95
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Apr 28 14:30:58 2006 +0000

description:
Use vsnprintf, not _vsnprintf. While the interface is not standard,
using protected names is even worth. They might not even exist
everywhere.

diffstat:

 devel/devIL/Makefile         |   4 ++--
 devel/devIL/distinfo         |   3 ++-
 devel/devIL/patches/patch-aa |  20 ++++++++++++++++++++
 3 files changed, 24 insertions(+), 3 deletions(-)

diffs (50 lines):

diff -r eab14d6e58c6 -r 9655e0d12a95 devel/devIL/Makefile
--- a/devel/devIL/Makefile      Fri Apr 28 14:15:06 2006 +0000
+++ b/devel/devIL/Makefile      Fri Apr 28 14:30:58 2006 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.15 2006/04/17 13:46:01 wiz Exp $
+# $NetBSD: Makefile,v 1.16 2006/04/28 14:30:58 joerg Exp $
 #
 
 DISTNAME=      DevIL-1.6.6
 PKGNAME=       ${DISTNAME:S/D/d/}
-PKGREVISION=   7
+PKGREVISION=   8
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=openil/}
 
diff -r eab14d6e58c6 -r 9655e0d12a95 devel/devIL/distinfo
--- a/devel/devIL/distinfo      Fri Apr 28 14:15:06 2006 +0000
+++ b/devel/devIL/distinfo      Fri Apr 28 14:30:58 2006 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2005/02/23 22:24:12 agc Exp $
+$NetBSD: distinfo,v 1.3 2006/04/28 14:30:58 joerg Exp $
 
 SHA1 (DevIL-1.6.6.tar.gz) = 946883351dcd72d00618887f1faa01d173317903
 RMD160 (DevIL-1.6.6.tar.gz) = f609c71397c143517b045f764c549528f7cb5e84
 Size (DevIL-1.6.6.tar.gz) = 787878 bytes
+SHA1 (patch-aa) = 1cc5f64f053b7b229156a6283604cf47aff47c6e
diff -r eab14d6e58c6 -r 9655e0d12a95 devel/devIL/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/devIL/patches/patch-aa      Fri Apr 28 14:30:58 2006 +0000
@@ -0,0 +1,20 @@
+$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.



Home | Main Index | Thread Index | Old Index