Received: by mail.netbsd.org (Postfix, from userid 605) id F329884D52; Mon, 31 Dec 2018 11:25:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 7FEF784D3B for ; Mon, 31 Dec 2018 11:25:09 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id yQP-sVGUn7Et for ; Mon, 31 Dec 2018 11:25:09 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id CF25484CE2 for ; Mon, 31 Dec 2018 11:25:08 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id CD045FB16; Mon, 31 Dec 2018 11:25:08 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1546255508103510" MIME-Version: 1.0 Date: Mon, 31 Dec 2018 11:25:08 +0000 From: =?UTF-8?B?RnLDqWTDqXJpYyBGYXViZXJ0ZWF1?= Subject: CVS commit: pkgsrc/pkgtools/libnbcompat/files/nbcompat To: pkgsrc-changes@NetBSD.org Reply-To: triaxx@netbsd.org X-Mailer: log_accum Message-Id: <20181231112508.CD045FB16@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1546255508103510 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: triaxx Date: Mon Dec 31 11:25:08 UTC 2018 Modified Files: pkgsrc/pkgtools/libnbcompat/files/nbcompat: err.h Log Message: libnbcompat: fix PR pkg/33037 Thanks Stuart and sorry for the long time. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 pkgsrc/pkgtools/libnbcompat/files/nbcompat/err.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1546255508103510 Content-Disposition: inline Content-Length: 1111 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/pkgtools/libnbcompat/files/nbcompat/err.h diff -u pkgsrc/pkgtools/libnbcompat/files/nbcompat/err.h:1.4 pkgsrc/pkgtools/libnbcompat/files/nbcompat/err.h:1.5 --- pkgsrc/pkgtools/libnbcompat/files/nbcompat/err.h:1.4 Mon Aug 23 03:32:13 2004 +++ pkgsrc/pkgtools/libnbcompat/files/nbcompat/err.h Mon Dec 31 11:25:08 2018 @@ -1,4 +1,4 @@ -/* $NetBSD: err.h,v 1.4 2004/08/23 03:32:13 jlam Exp $ */ +/* $NetBSD: err.h,v 1.5 2018/12/31 11:25:08 triaxx Exp $ */ /* * Copyright (c) 1989, 1993 @@ -40,9 +40,11 @@ #if HAVE_ERR_H # include -#endif - -#if !HAVE_ERR +#else +# if !HAVE_SYS_CDEFS_H +# include +# endif +# include void err __P((int, const char *, ...)); void errx __P((int, const char *, ...)); void verr __P((int, const char *, va_list)); @@ -50,6 +52,10 @@ void verrx __P((int, const char *, va_li #endif #if !HAVE_WARN +# if !HAVE_SYS_CDEFS_H +# include +# endif +# include void warn __P((const char *, ...)); void warnx __P((const char *, ...)); void vwarn __P((const char *, va_list)); --_----------=_1546255508103510--