Use system vsnprintf() as intended (fixes build on OS X 10.6).

This commit is contained in:
schmonz 2013-02-03 13:56:16 +00:00
parent 2092312906
commit 0445fbf4dd
3 changed files with 33 additions and 1 deletions

View file

@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.19 2012/12/24 13:45:02 ryoon Exp $
$NetBSD: distinfo,v 1.20 2013/02/03 13:56:16 schmonz Exp $
SHA1 (distcc-3.1.tar.bz2) = 30663e8ff94f13c0553fbfb928adba91814e1b3a
RMD160 (distcc-3.1.tar.bz2) = 82229c230e6917b0df7db275460579b02dbf6b60
@ -8,4 +8,6 @@ SHA1 (patch-ab) = c3a306be0a3576b33f506bd6516d8242ceec07ca
SHA1 (patch-ac) = 618015e2954dc54c6db3712381749feb17106647
SHA1 (patch-ad) = 79ce3ea1b7dd75dce1654dd31eaa372174f8f5d1
SHA1 (patch-ae) = d4e5eba767f08a1c346c0223ddf88e98a5ed7c59
SHA1 (patch-src_dotd.c) = af4d4250a1bad59a9c6ed8a584c0827da0126046
SHA1 (patch-src_emaillog.c) = 2eddfb3cdbc983e4ae1260d53150bb46ebc43500
SHA1 (patch-src_io.c) = 5c662a4f9af20b5cffbd6285a3b0d6d6c4066571

View file

@ -0,0 +1,15 @@
$NetBSD: patch-src_dotd.c,v 1.1 2013/02/03 13:56:17 schmonz Exp $
Use system vsnprintf() as intended (fixes build on OS X 10.6).
--- src/dotd.c.orig 2008-12-02 21:50:25.000000000 +0000
+++ src/dotd.c
@@ -18,6 +18,8 @@
* USA.
*/
+#include <config.h>
+
#include <stdio.h>
#include <string.h>
#include <stdlib.h>

View file

@ -0,0 +1,15 @@
$NetBSD: patch-src_emaillog.c,v 1.1 2013/02/03 13:56:17 schmonz Exp $
Use system vsnprintf() as intended (fixes build on OS X 10.6).
--- src/emaillog.c.orig 2008-12-02 21:50:24.000000000 +0000
+++ src/emaillog.c
@@ -18,6 +18,8 @@
* USA.
*/
+#include <config.h>
+
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>