pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/libnbcompat/files/nbcompat s/HAVE_DECL_ASPRIN...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4dd295a5d585
branches:  trunk
changeset: 635512:4dd295a5d585
user:      cheusov <cheusov%pkgsrc.org@localhost>
date:      Sat Jun 07 19:17:42 2014 +0000

description:
s/HAVE_DECL_ASPRINTF/HAVE_DECL_VASPRINTF/. According to configure.ac
presense of vasprintf(3) is checked. This partially fixes bootstrap failure
on AltLinux.

diffstat:

 pkgtools/libnbcompat/files/nbcompat/stdio.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 736188a454b3 -r 4dd295a5d585 pkgtools/libnbcompat/files/nbcompat/stdio.h
--- a/pkgtools/libnbcompat/files/nbcompat/stdio.h       Sat Jun 07 16:20:48 2014 +0000
+++ b/pkgtools/libnbcompat/files/nbcompat/stdio.h       Sat Jun 07 19:17:42 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: stdio.h,v 1.4 2008/04/29 05:46:08 martin Exp $ */
+/*     $NetBSD: stdio.h,v 1.5 2014/06/07 19:17:42 cheusov Exp $        */
 
 /*-
  * Copyright (c) 2004 The NetBSD Foundation, Inc.
@@ -61,7 +61,7 @@
 int    vsnprintf(char *, size_t, const char *, va_list);
 #endif
 
-#if !HAVE_DECL_ASPRINTF
+#if !HAVE_DECL_VASPRINTF
 int    asprintf(char **, const char *, ...);
 int    vasprintf(char **, const char *, va_list);
 #endif



Home | Main Index | Thread Index | Old Index