NetBSD Problem Report #44924
From www@NetBSD.org Mon May 2 08:45:28 2011
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id 6509D63BBC7
for <gnats-bugs@gnats.NetBSD.org>; Mon, 2 May 2011 08:45:28 +0000 (UTC)
Message-Id: <20110502084527.C2DA563B8AC@www.NetBSD.org>
Date: Mon, 2 May 2011 08:45:27 +0000 (UTC)
From: joern.clausen@uni-bielefeld.de
Reply-To: joern.clausen@uni-bielefeld.de
To: gnats-bugs@NetBSD.org
Subject: security/gnutls does not compile on Solaris
X-Send-Pr-Version: www-1.0
>Number: 44924
>Category: pkg
>Synopsis: security/gnutls does not compile on Solaris
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon May 02 08:50:00 +0000 2011
>Closed-Date: Mon May 23 07:19:40 +0000 2011
>Last-Modified: Mon May 23 07:19:40 +0000 2011
>Originator: Jörn Clausen
>Release:
>Organization:
University of Bielefeld
>Environment:
>Description:
Compiling security/gnutls on Solaris fails with
egd.c: In function `_rndegd_connect_socket':
egd.c:144: error: `AF_LOCAL' undeclared (first use in this function)
egd.c:144: error: (Each undeclared identifier is reported only once
egd.c:144: error: for each function it appears in.)
gmake[4]: *** [egd.lo] Error 1
gmake[4]: Leaving directory `/software/pkgsrc/source/pkgsrc/security/gnutls/work.spare4200/gnutls-2.12.3/lib/nettle'
>How-To-Repeat:
>Fix:
--- lib/nettle/egd.c.orig 2011-04-08 00:30:45.000000000 +0000
+++ lib/nettle/egd.c
@@ -141,6 +141,7 @@ _rndegd_connect_socket (void)
}
memset (&addr, 0, sizeof addr);
+#define AF_LOCAL AF_UNIX
addr.sun_family = AF_LOCAL;
strcpy (addr.sun_path, name);
addr_len = (offsetof (struct sockaddr_un, sun_path)
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback
State-Changed-By: obache@NetBSD.org
State-Changed-When: Mon, 02 May 2011 09:28:18 +0000
State-Changed-Why:
fixed?
From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/44924 CVS commit: pkgsrc/security/gnutls
Date: Mon, 2 May 2011 09:27:44 +0000
Module Name: pkgsrc
Committed By: obache
Date: Mon May 2 09:27:44 UTC 2011
Modified Files:
pkgsrc/security/gnutls: distinfo
Added Files:
pkgsrc/security/gnutls/patches: patch-lib_nettle_egd.c
Log Message:
Add a patch for lack of posix standard AF_LOCAL, fall back to AF_UNIX.
for PR#44924.
To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73 pkgsrc/security/gnutls/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/security/gnutls/patches/patch-lib_nettle_egd.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: =?ISO-8859-1?Q?J=F6rn_Clausen?= <joern.clausen@uni-bielefeld.de>
To: gnats-bugs@NetBSD.org
Cc: obache@NetBSD.org, pkg-manager@NetBSD.org, pkgsrc-bugs@NetBSD.org,
gnats-admin@NetBSD.org
Subject: Re: pkg/44924 (security/gnutls does not compile on Solaris)
Date: Mon, 23 May 2011 09:10:15 +0200
> fixed?
Yes, please close this PR. Thanks!
--
Jörn Clausen joern.clausen@uni-bielefeld.de
Hochschulrechenzentrum http://www.uni-bielefeld.de/hrz/
Universität Bielefeld
State-Changed-From-To: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 23 May 2011 07:19:40 +0000
State-Changed-Why:
Confirmed fixed, thanks.
>Unformatted:
(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-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.