NetBSD Problem Report #49523

From www@NetBSD.org  Fri Jan  2 03:04:49 2015
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 970EFA65B7
	for <gnats-bugs@gnats.NetBSD.org>; Fri,  2 Jan 2015 03:04:49 +0000 (UTC)
Message-Id: <20150102030448.5418BA65B9@mollari.NetBSD.org>
Date: Fri,  2 Jan 2015 03:04:48 +0000 (UTC)
From: venture37@geeklan.co.uk
Reply-To: venture37@geeklan.co.uk
To: gnats-bugs@NetBSD.org
Subject: Unbreak mail/nullmailer
X-Send-Pr-Version: www-1.0

>Number:         49523
>Category:       pkg
>Synopsis:       Unbreak mail/nullmailer
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    schmonz
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 02 03:05:00 +0000 2015
>Closed-Date:    Fri Jan 02 04:41:21 +0000 2015
>Last-Modified:  Fri Jan 02 04:41:21 +0000 2015
>Originator:     Sevan Janiyan
>Release:        pkgsrc-current
>Organization:
>Environment:
Darwin 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh powerpc
>Description:
lib/fdbuf/fdobuf.h references uid_t & gid_t but does not include sys/types.h which means the build breaks
>How-To-Repeat:

>Fix:
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/mail/nullmailer/distinfo,v
retrieving revision 1.14
diff -u -r1.14 distinfo
--- distinfo    3 Sep 2013 17:50:27 -0000       1.14
+++ distinfo    2 Jan 2015 03:02:09 -0000
@@ -6,3 +6,4 @@
 SHA1 (patch-aa) = eeab7dc23266f74edaa578ca1de9422614d16dab
 SHA1 (patch-ab) = 12e7d0381a9b43888b4809799b7d2c5775bc8b6d
 SHA1 (patch-ac) = c542bbf35dfc2148dd133837799b7f4634b66489
+SHA1 (patch-lib_fdbuf_fdobuf.h) = 908c077cd778c16c441ae20fd6a5cac902684326
cvs diff: Diffing files
cvs diff: Diffing patches
Index: patches/patch-lib_fdbuf_fdobuf.h
===================================================================
RCS file: patches/patch-lib_fdbuf_fdobuf.h
diff -N patches/patch-lib_fdbuf_fdobuf.h
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-lib_fdbuf_fdobuf.h    2 Jan 2015 03:02:09 -0000
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- lib/fdbuf/fdobuf.h.orig    2015-01-02 02:59:35.000000000 +0000
++++ lib/fdbuf/fdobuf.h
+@@ -14,6 +14,8 @@
+ // along with this program; if not, write to the Free Software
+ // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ 
++#include <sys/types.h>
++
+ #ifndef FDBUF__FDOBUF__H__
+ #define FDBUF__FDOBUF__H__
+ 

>Release-Note:

>Audit-Trail:
From: "Amitai Schlair" <schmonz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/49523 CVS commit: pkgsrc/mail/nullmailer
Date: Fri, 2 Jan 2015 04:38:20 +0000

 Module Name:	pkgsrc
 Committed By:	schmonz
 Date:		Fri Jan  2 04:38:20 UTC 2015

 Modified Files:
 	pkgsrc/mail/nullmailer: distinfo
 	pkgsrc/mail/nullmailer/patches: patch-aa patch-ab
 Added Files:
 	pkgsrc/mail/nullmailer/patches: patch-lib_fdbuf_fdobuf.h

 Log Message:
 Fix build on OS X with patch from Sevan Janiyan in PR pkg/49523.
 While here, recenter a couple other patches.


 To generate a diff of this commit:
 cvs rdiff -u -r1.14 -r1.15 pkgsrc/mail/nullmailer/distinfo
 cvs rdiff -u -r1.5 -r1.6 pkgsrc/mail/nullmailer/patches/patch-aa
 cvs rdiff -u -r1.7 -r1.8 pkgsrc/mail/nullmailer/patches/patch-ab
 cvs rdiff -u -r0 -r1.1 \
     pkgsrc/mail/nullmailer/patches/patch-lib_fdbuf_fdobuf.h

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

Responsible-Changed-From-To: pkg-manager->schmonz
Responsible-Changed-By: schmonz@NetBSD.org
Responsible-Changed-When: Fri, 02 Jan 2015 04:41:21 +0000
Responsible-Changed-Why:
Over to MAINTAINER.


State-Changed-From-To: open->closed
State-Changed-By: schmonz@NetBSD.org
State-Changed-When: Fri, 02 Jan 2015 04:41:21 +0000
State-Changed-Why:
Patch applied cleanly and also fixed the build on 10.10. Thanks for the fix!


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.