NetBSD Problem Report #49637

From www@NetBSD.org  Tue Feb  3 19:34:44 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 328F4A5B2E
	for <gnats-bugs@gnats.NetBSD.org>; Tue,  3 Feb 2015 19:34:44 +0000 (UTC)
Message-Id: <20150203193443.26774A65B0@mollari.NetBSD.org>
Date: Tue,  3 Feb 2015 19:34:43 +0000 (UTC)
From: mdehling@gmail.com
Reply-To: mdehling@gmail.com
To: gnats-bugs@NetBSD.org
Subject: security/dirmngr fails to build on an Ultra-2 running Solaris 10u7 w/ Studio Pro 12u1
X-Send-Pr-Version: www-1.0

>Number:         49637
>Category:       pkg
>Synopsis:       security/dirmngr fails to build on an Ultra-2 running Solaris 10u7 w/ Studio Pro 12u1
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bsiegert
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 03 19:35:00 +0000 2015
>Closed-Date:    Tue Dec 29 23:24:25 +0000 2015
>Last-Modified:  Wed Dec 30 15:50:00 +0000 2015
>Originator:     Malte Dehling
>Release:        pkgsrc-2014Q4
>Organization:
>Environment:
SunOS U2 5.10 Generic_139555-08 sun4u sparc sun4u
cc: Sun C 5.10 SunOS_sparc 2009/06/03

>Description:
Build fails over a void function with `return something;` statement.
>How-To-Repeat:

>Fix:
Apply the following patch. end_cert_fetch_ldap() has return type void.

--- src/crlfetch.c.orig 2009-08-07 14:09:47.000000000 +0000
+++ src/crlfetch.c
@@ -389,7 +389,7 @@ fetch_next_ksba_cert (cert_fetch_context
 void
 end_cert_fetch (cert_fetch_context_t context)
 {
-  return end_cert_fetch_ldap (context);
+  end_cert_fetch_ldap (context);
 }

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->bsiegert
Responsible-Changed-By: bsiegert@NetBSD.org
Responsible-Changed-When: Tue, 29 Dec 2015 23:24:25 +0000
Responsible-Changed-Why:
Committed, thanks!


State-Changed-From-To: open->closed
State-Changed-By: bsiegert@NetBSD.org
State-Changed-When: Tue, 29 Dec 2015 23:24:25 +0000
State-Changed-Why:


From: "Benny Siegert" <bsiegert@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/49637 CVS commit: pkgsrc/security/dirmngr
Date: Tue, 29 Dec 2015 23:18:50 +0000

 Module Name:	pkgsrc
 Committed By:	bsiegert
 Date:		Tue Dec 29 23:18:50 UTC 2015

 Modified Files:
 	pkgsrc/security/dirmngr: Makefile distinfo
 Added Files:
 	pkgsrc/security/dirmngr/patches: patch-src_crlfetch.c

 Log Message:
 Fix build by removing a redundant return statement. From Malte Dehling in
 PR pkg/49637.


 To generate a diff of this commit:
 cvs rdiff -u -r1.54 -r1.55 pkgsrc/security/dirmngr/Makefile
 cvs rdiff -u -r1.22 -r1.23 pkgsrc/security/dirmngr/distinfo
 cvs rdiff -u -r0 -r1.1 pkgsrc/security/dirmngr/patches/patch-src_crlfetch.c

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

>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.